mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2025-12-31 13:48:24 +03:00
Change $ node path shorthand regex to match only valid paths (#276)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
@@ -204,7 +204,7 @@
|
||||
"name": "support.function.builtin.gdscript"
|
||||
},
|
||||
"builtin_get_node_shorthand": {
|
||||
"match": "\\$[A-Za-z0-9\\_\\/]+",
|
||||
"match": "\\$((\\\"(\\.\\.\\/)+|\\\"\\/|\\\"[0-9]+|\\\")([0-9A-Za-z\\_]+\\/)*[A-Za-z0-9\\_]+\\\"|[A-Za-z\\_]+(\\/[A-Za-z\\_]+)*)",
|
||||
"name": "support.function.builtin.shorthand.gdscript"
|
||||
},
|
||||
"builtin_classes": {
|
||||
|
||||
Reference in New Issue
Block a user