mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2025-12-31 13:48:24 +03:00
fix string literal highlighting
This commit is contained in:
@@ -45,17 +45,32 @@
|
||||
"strings": {
|
||||
"patterns": [{
|
||||
"begin": "\"",
|
||||
"end": "(?<!\\\\)\"",
|
||||
"end": "\"",
|
||||
"patterns": [
|
||||
{ "name": "constant.character.escape.untitled",
|
||||
"match": "\\."
|
||||
}
|
||||
],
|
||||
"name": "string.quoted.double.gdscript"
|
||||
},
|
||||
{
|
||||
"begin": "'",
|
||||
"end": "(?<!\\\\)'",
|
||||
"end": "'",
|
||||
"patterns": [
|
||||
{ "name": "constant.character.escape.untitled",
|
||||
"match": "\\."
|
||||
}
|
||||
],
|
||||
"name": "string.quoted.single.gdscript"
|
||||
},
|
||||
{
|
||||
"begin": "@\"",
|
||||
"end": "(?<!\\\\)\"",
|
||||
"end": "\"",
|
||||
"patterns": [
|
||||
{ "name": "constant.character.escape.untitled",
|
||||
"match": "\\."
|
||||
}
|
||||
],
|
||||
"name": "string.nodepath.gdscript"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user