Skip to content

Instantly share code, notes, and snippets.

@Reyuu
Created June 16, 2023 18:18
Show Gist options
  • Save Reyuu/4409100b1c5f973f041bcca8a6a35241 to your computer and use it in GitHub Desktop.
Save Reyuu/4409100b1c5f973f041bcca8a6a35241 to your computer and use it in GitHub Desktop.
Godot Language Server configuration for Helix editor
# languages.toml location -> https://docs.helix-editor.com/languages.html#languagestoml-files
[[language]]
name = "gdscript"
scope = "source.gdscript"
injection-regex = "gdscript"
file-types = ["gd"]
shebangs = []
roots = ["project.godot"]
auto-format = true
formatter = { command = "gdformat", args = ["-"] }
comment-token = "#"
indent = { tab-width = 4, unit = "\t" }
language-server = {command = "ncat", args = ["127.0.0.1", "6005"]} # check in Editor Settings -> Network -> Language Server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment