dotconfig/dot_config/helix/languages.toml

22 lines
498 B
TOML

[[language]]
name = "yaml"
auto-format = false
formatter = { command = "yamlfmt", args = ["-"] }
[[language]]
name = "python"
language-servers = ["ruff", "pyright"]
formatter = { command = "black", args = ["--quiet", "-"] }
auto-format = true
[[language]]
name = "xbps-template"
scope = "source.xbps"
roots = ["xbps-src"]
file-types = [
{ glob = "srcpkgs/*/template" }
]
comment-token = "#"
language-servers = [ "bash-language-server" ]
indent = { tab-width = 4, unit = "\t" }
grammar = "bash"