improve ext

This commit is contained in:
nora 2023-08-03 11:50:24 +02:00
parent 523cc9cd59
commit a6d2d7aa05

View file

@ -7,14 +7,19 @@
}, },
{ {
"include": "#strings" "include": "#strings"
},
{
"include": "#lineComment"
} }
], ],
"repository": { "repository": {
"keywords": { "keywords": {
"patterns": [{ "patterns": [
{
"name": "keyword.control.riverdelta", "name": "keyword.control.riverdelta",
"match": "\\b(function|let|if|then|else|type|loop|break|import|extern|mod|global)\\b" "match": "\\b(function|let|if|then|else|type|loop|break|import|extern|mod|global)\\b"
}] }
]
}, },
"strings": { "strings": {
"name": "string.quoted.double.riverdelta", "name": "string.quoted.double.riverdelta",
@ -26,6 +31,14 @@
"match": "\\\\." "match": "\\\\."
} }
] ]
},
"lineComment": {
"patterns": [
{
"name": "comment.riverdelta",
"match": "//.*"
}
]
} }
}, },
"scopeName": "source.nil" "scopeName": "source.nil"