Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add GDScript language support#2238

Merged
sinelaw merged 3 commits into
sinelaw:mastersinelaw/fresh:masterfrom
richiehowelll:masterrichiehowelll/fresh:masterCopy head branch name to clipboard
Jun 5, 2026
Merged

Add GDScript language support#2238
sinelaw merged 3 commits into
sinelaw:mastersinelaw/fresh:masterfrom
richiehowelll:masterrichiehowelll/fresh:masterCopy head branch name to clipboard

Conversation

@richiehowelll

Copy link
Copy Markdown
Contributor

Summary

Adds GDScript support for .gd files, including language detection, Tree-sitter highlighting,
indentation, reference highlighting, default config, and a disabled-by-default Godot LSP bridge.

Changes

  • Add Language::GdScript and .gd detection in fresh-languages
  • Add optional tree-sitter-gdscript support and highlight queries
  • Add GDScript indentation and reference highlighting support in fresh-editor
  • Add default languages.gdscript config
  • Add disabled-by-default lsp.gdscript config using Godot's TCP LSP endpoint
  • Add gdscript-lsp.ts helper plugin
  • Add syntax, indentation, language detection, and config tests

richiehowelll and others added 2 commits June 3, 2026 22:41
Downgrade windows-sys dependency from 0.61.2 to 0.52.0
@sinelaw

sinelaw commented Jun 4, 2026

Copy link
Copy Markdown
Owner

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
(New grammars should be placed in this directory and use the sublime-syntax yaml format)

For indents you can keep the .scm files - I'm still looking for an alternative.

@sinelaw

sinelaw commented Jun 4, 2026

Copy link
Copy Markdown
Owner

@richiehowelll

richiehowelll commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

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 (New grammars should be placed in this directory and use the sublime-syntax yaml format)

For indents you can keep the .scm files - I'm still looking for an alternative.

@sinelaw change to syntect grammar has been pushed

@sinelaw
sinelaw merged commit a9069ca into sinelaw:master Jun 5, 2026
8 checks passed
@sinelaw

sinelaw commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Thanks, is this also including Godot 4?

@richiehowelll

Copy link
Copy Markdown
Contributor Author

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!

sinelaw pushed a commit that referenced this pull request Jul 7, 2026
…ed (tab-switch slide control DOES animate); GDScript #2238 comprehensive PASS; dotfiles reveal #2407 PASS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.