helix-config/languages.toml
2025-01-29 21:36:00 -06:00

29 lines
542 B
TOML

[python]
name = "python"
file-types = ["py"]
comment-tokens = "#"
indent = { tab-width = 4, unit = " "}
formatter = { command = "ruff", args = ["format"] }
language-servers = ["pylsp", "python-ruff"]
roots = ["setup.py", "pyproject.toml"]
[pylsp]
command = "pylsp"
[python-ruff]
command = "ruff"
args = ["server"]
[go]
name = "go"
file-types = ["go"]
comment-tokens = "//"
indent = { tab-width = 4, unit = "\t" }
formatter = { command = "go", args = ["fmt"] }
language-servers = ["gopls"]
roots = ["go.mod"]
[gopls]
command = "gopls"