mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2025-12-31 13:48:24 +03:00
1. Add enum and match keywords highlight support
2. Shorthand if else support fix #17 3. Fix compains with used variables in array and dictionary fix #18 4. Fix error syntax check with keywords in strings fix #12 5. Add syntax check for end of expression
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
"name": "comment.line.number-sign.gdscript"
|
||||
},
|
||||
{
|
||||
"match": "\\b(?i:elif|else|for|if|while|break|continue|pass|and|in|is|not|or|return|onready|setget|breakpoint)\\b",
|
||||
"match": "\\b(?i:elif|else|for|if|while|break|continue|pass|and|in|is|not|or|return|onready|setget|enum|match|breakpoint)\\b",
|
||||
"name": "keyword.control.gdscript"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"name": "comment.line.number-sign.gdscript"
|
||||
},
|
||||
{
|
||||
"match": "\\b(?i:elif|else|for|if|while|break|continue|pass|and|in|is|not|or|return|onready|setget|breakpoint)\\b",
|
||||
"match": "\\b(?i:elif|else|for|if|while|break|continue|pass|and|in|is|not|or|return|onready|setget|enum|match|breakpoint)\\b",
|
||||
"name": "keyword.control.gdscript"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user