Update vscode syntax
This commit is contained in:
parent
99f56d3a61
commit
bbf31e9688
@ -23,16 +23,20 @@
|
|||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"keywords": {
|
"keywords": {
|
||||||
"patterns": [{
|
"patterns": [
|
||||||
|
{
|
||||||
"name": "keyword.control.sapphire",
|
"name": "keyword.control.sapphire",
|
||||||
"match": "\\b(out|var|import|ret|asm)\\b"
|
"match": "\\b(let|in|syscall0|syscall1|syscall2|syscall3|syscall4|syscall5)\\b"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"types": {
|
"types": {
|
||||||
"patterns": [{
|
"patterns": [
|
||||||
|
{
|
||||||
"name": "entity.name.type",
|
"name": "entity.name.type",
|
||||||
"match": "\\b(u8|u16|u32|u64|i8|i16|i32|i64|ptr8|ptr16|ptr32|ptr64|str|void)\\b"
|
"match": "\\b(u8|u16|u32|u64|i8|i16|i32|i64|ptr8|ptr16|ptr32|ptr64|str|void)\\b"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"strings": {
|
"strings": {
|
||||||
"name": "string.quoted.sapphire",
|
"name": "string.quoted.sapphire",
|
||||||
@ -53,7 +57,7 @@
|
|||||||
"functions": {
|
"functions": {
|
||||||
"name": "support.function",
|
"name": "support.function",
|
||||||
"begin": "@",
|
"begin": "@",
|
||||||
"end": "(\\s|\\{|\\()"
|
"end": "\\b(in|;)\\b"
|
||||||
},
|
},
|
||||||
"variables": {
|
"variables": {
|
||||||
"name": "variable.name",
|
"name": "variable.name",
|
||||||
|
Loading…
Reference in New Issue
Block a user