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
|
|
@ -1,32 +1,45 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
||||
"name": "riverdelta",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#keywords"
|
||||
},
|
||||
{
|
||||
"include": "#strings"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"keywords": {
|
||||
"patterns": [{
|
||||
"name": "keyword.control.riverdelta",
|
||||
"match": "\\b(function|let|if|then|else|type|loop|break|import|extern|mod|global)\\b"
|
||||
}]
|
||||
},
|
||||
"strings": {
|
||||
"name": "string.quoted.double.riverdelta",
|
||||
"begin": "\"",
|
||||
"end": "\"",
|
||||
"patterns": [
|
||||
{
|
||||
"name": "constant.character.escape.riverdelta",
|
||||
"match": "\\\\."
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"scopeName": "source.nil"
|
||||
}
|
||||
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
||||
"name": "riverdelta",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#keywords"
|
||||
},
|
||||
{
|
||||
"include": "#strings"
|
||||
},
|
||||
{
|
||||
"include": "#lineComment"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"keywords": {
|
||||
"patterns": [
|
||||
{
|
||||
"name": "keyword.control.riverdelta",
|
||||
"match": "\\b(function|let|if|then|else|type|loop|break|import|extern|mod|global)\\b"
|
||||
}
|
||||
]
|
||||
},
|
||||
"strings": {
|
||||
"name": "string.quoted.double.riverdelta",
|
||||
"begin": "\"",
|
||||
"end": "\"",
|
||||
"patterns": [
|
||||
{
|
||||
"name": "constant.character.escape.riverdelta",
|
||||
"match": "\\\\."
|
||||
}
|
||||
]
|
||||
},
|
||||
"lineComment": {
|
||||
"patterns": [
|
||||
{
|
||||
"name": "comment.riverdelta",
|
||||
"match": "//.*"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"scopeName": "source.nil"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue