mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Berry fix syntax highlighting for escaped chars (#19126)
This commit is contained in:
parent
315fe36727
commit
f4ff0010af
@ -49,7 +49,7 @@
|
||||
"patterns": [
|
||||
{
|
||||
"name": "constant.character.escape.berry",
|
||||
"match": "\\\\."
|
||||
"match": "(\\\\x[\\h]{2})|(\\\\[0-7]{3})|(\\\\\\\\)|(\\\\\")|(\\\\')|(\\\\a)|(\\\\b)|(\\\\f)|(\\\\n)|(\\\\r)|(\\\\t)|(\\\\v)"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -60,7 +60,7 @@
|
||||
"patterns": [
|
||||
{
|
||||
"name": "constant.character.escape.berry",
|
||||
"match": "\\\\."
|
||||
"match": "(\\\\x[\\h]{2})|(\\\\[0-7]{3})|(\\\\\\\\)|(\\\\\")|(\\\\')|(\\\\a)|(\\\\b)|(\\\\f)|(\\\\n)|(\\\\r)|(\\\\t)|(\\\\v)"
|
||||
},
|
||||
{
|
||||
"name": "string.quoted.other.berry",
|
||||
@ -111,7 +111,7 @@
|
||||
"keywords": {
|
||||
"patterns": [{
|
||||
"name": "keyword.berry",
|
||||
"match": "\\b(var|static|def|class|true|false|nil|self|super|import|as)\\b"
|
||||
"match": "\\b(var|static|def|class|true|false|nil|self|super|import|as|_class)\\b"
|
||||
}]
|
||||
},
|
||||
"identifier": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user