fix and improvements
This commit is contained in:
@@ -189,7 +189,7 @@
|
||||
},
|
||||
"variable-declarations": {
|
||||
"name": "meta.variable.declaration.tsl",
|
||||
"match": "^\\s*(\\w+)\\s*(:)(?!=)\\s*([^;?]*)(;)?",
|
||||
"match": "(?<!\\?\\s*)(\\w+)\\s*(:)(?!=)\\s*([^;?]*)(;)?",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "variable.other.declaration.tsl"
|
||||
@@ -412,6 +412,10 @@
|
||||
"name": "storage.modifier.access.tsl",
|
||||
"match": "(?i)\\b(public|protected|private|published)\\b"
|
||||
},
|
||||
{
|
||||
"name": "keyword.other.property-accessor.tsl",
|
||||
"match": "(?i)\\b(read|write)\\b"
|
||||
},
|
||||
{
|
||||
"name": "keyword.other.constructor.tsl",
|
||||
"match": "(?i)\\b(create|destroy|operator)\\b"
|
||||
@@ -438,7 +442,15 @@
|
||||
},
|
||||
{
|
||||
"name": "keyword.control.block.tsl",
|
||||
"match": "(?i)\\b(begin|end|this|with|weakref|autoref|namespace)\\b"
|
||||
"match": "(?i)\\b(begin|end|with)\\b"
|
||||
},
|
||||
{
|
||||
"name": "storage.modifier.reference.tsl",
|
||||
"match": "(?i)\\b(weakref|autoref)\\b"
|
||||
},
|
||||
{
|
||||
"name": "keyword.other.namespace.tsl",
|
||||
"match": "(?i)\\bnamespace\\b"
|
||||
},
|
||||
{
|
||||
"name": "keyword.control.exception.tsl",
|
||||
@@ -460,10 +472,6 @@
|
||||
"name": "keyword.operator.set.tsl",
|
||||
"match": "(?i)\\b(union|minus|union2)\\b"
|
||||
},
|
||||
{
|
||||
"name": "keyword.operator.io.tsl",
|
||||
"match": "(?i)\\b(write|read)\\b"
|
||||
},
|
||||
{
|
||||
"name": "keyword.control.sql.tsl",
|
||||
"match": "(?i)\\b(select|vselect|sselect|update|delete|mselect)\\b"
|
||||
@@ -486,16 +494,20 @@
|
||||
},
|
||||
{
|
||||
"name": "variable.language.builtin.tsl",
|
||||
"match": "(?i)\\b(paramcount|realparamcount|params|system|thisfunction|tslassigning|likeeps|likeepsrate)\\b"
|
||||
"match": "(?i)\\b(paramcount|realparamcount|params|system|tslassigning|likeeps|likeepsrate)\\b"
|
||||
},
|
||||
{
|
||||
"name": "support.function.builtin.tsl",
|
||||
"match": "(?i)\\b(echo|mtic|mtoc|this|inf|nan)\\b"
|
||||
"match": "(?i)\\b(echo|mtic|mtoc)\\b"
|
||||
},
|
||||
{
|
||||
"name": "constant.language.boolean.tsl",
|
||||
"match": "(?i)\\b(false|true)\\b"
|
||||
},
|
||||
{
|
||||
"name": "constant.language.math.tsl",
|
||||
"match": "(?i)\\b(inf|nan)\\b"
|
||||
},
|
||||
{
|
||||
"name": "constant.language.null.tsl",
|
||||
"match": "(?i)\\bnil\\b"
|
||||
|
||||
Reference in New Issue
Block a user