Add GDScript language support#2238
Add GDScript language support#2238
Conversation
Downgrade windows-sys dependency from 0.61.2 to 0.52.0
|
Thanks! I'm moving to purely non-tree-sitter grammars based on syntect (tree sitter bloats the binary) For example grammar, see crates/fresh-editor/src/grammars/vhdl.sublime-syntax For indents you can keep the .scm files - I'm still looking for an alternative. |
@sinelaw change to syntect grammar has been pushed |
|
Thanks, is this also including Godot 4? |
It's usable for godot 4 but not complete, hoping to add full support in a follow up! |
Summary
Adds GDScript support for
.gdfiles, including language detection, Tree-sitter highlighting,indentation, reference highlighting, default config, and a disabled-by-default Godot LSP bridge.
Changes
Language::GdScriptand.gddetection infresh-languagestree-sitter-gdscriptsupport and highlight queriesfresh-editorlanguages.gdscriptconfiglsp.gdscriptconfig using Godot's TCP LSP endpointgdscript-lsp.tshelper plugin