feat: support WRN imports and dynamic public shell
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
{
|
||||
"include": "#comments"
|
||||
},
|
||||
{
|
||||
"include": "#imports"
|
||||
},
|
||||
{
|
||||
"include": "#declaration"
|
||||
},
|
||||
@@ -14,6 +17,21 @@
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"imports": {
|
||||
"begin": "^\\s*(import)\\b",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "keyword.control.import.ts"
|
||||
}
|
||||
},
|
||||
"end": ";|$",
|
||||
"name": "meta.import.wrn",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "source.ts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"patterns": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user