Update vscode syntax

This commit is contained in:
apio 2022-08-26 12:09:28 +02:00
parent 99f56d3a61
commit bbf31e9688

View File

@ -23,16 +23,20 @@
],
"repository": {
"keywords": {
"patterns": [{
"name": "keyword.control.sapphire",
"match": "\\b(out|var|import|ret|asm)\\b"
}]
"patterns": [
{
"name": "keyword.control.sapphire",
"match": "\\b(let|in|syscall0|syscall1|syscall2|syscall3|syscall4|syscall5)\\b"
}
]
},
"types": {
"patterns": [{
"name": "entity.name.type",
"match": "\\b(u8|u16|u32|u64|i8|i16|i32|i64|ptr8|ptr16|ptr32|ptr64|str|void)\\b"
}]
"patterns": [
{
"name": "entity.name.type",
"match": "\\b(u8|u16|u32|u64|i8|i16|i32|i64|ptr8|ptr16|ptr32|ptr64|str|void)\\b"
}
]
},
"strings": {
"name": "string.quoted.sapphire",
@ -53,7 +57,7 @@
"functions": {
"name": "support.function",
"begin": "@",
"end": "(\\s|\\{|\\()"
"end": "\\b(in|;)\\b"
},
"variables": {
"name": "variable.name",