godotengine / godot-vscode-plugin

Godot development tools for VSCode
MIT License
1.53k stars 151 forks source link

Fix incorrect highlighting in dictionary literals #419

Closed DaelonSuzuka closed 2 years ago

DaelonSuzuka commented 2 years ago

Fixes #418.

I had to completely rebuild the variable declaration rule to fix this bug.

Along the way, I removed some unused junk and standardized the names of all the rules. Some rules had hyphenated-names and some had underscore_names. Underscore names are easier for to work with in various text selection operations, so I switched all the hyphens to underscores.

Code_uKmPXxuT2m