mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-14 16:35:03 +01:00
improve ext
This commit is contained in:
parent
523cc9cd59
commit
a6d2d7aa05
1 changed files with 44 additions and 31 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue