56 lines
1.1 KiB
Cheetah
56 lines
1.1 KiB
Cheetah
[[language]]
|
|
name = "rust"
|
|
|
|
[language-server.rust-analyzer.config.check]
|
|
command = "clippy"
|
|
|
|
[language-server.zk]
|
|
command = "zk"
|
|
args = ["lsp"]
|
|
|
|
[[language]]
|
|
name = "markdown"
|
|
scope = "source.md"
|
|
injection-regex = "md|markdown"
|
|
file-types = ["md", "markdown"]
|
|
roots = [".zk"]
|
|
language-servers = ["zk"]
|
|
|
|
{{ if eq .hosttype "work" -}}
|
|
[language-server.pyright]
|
|
command = "pyright-langserver"
|
|
args = ["--stdio"]
|
|
config = {}
|
|
environment = { "PYENV_VERSION" = "pyright" }
|
|
|
|
[[language]]
|
|
name = "python"
|
|
language-servers = ["pyright"]
|
|
{{- end }}
|
|
|
|
[language-server.roc-ls]
|
|
command = "roc_language_server"
|
|
|
|
[[language]]
|
|
name = "roc"
|
|
scope = "source.roc"
|
|
injection-regex = "roc"
|
|
file-types = ["roc"]
|
|
shebangs = ["roc"]
|
|
roots = []
|
|
comment-token = "#"
|
|
language-servers = ["roc-ls"]
|
|
indent = { tab-width = 2, unit = " " }
|
|
auto-format = true
|
|
formatter = { command = "roc", args =[ "format", "--stdin", "--stdout"]}
|
|
|
|
[language.auto-pairs]
|
|
'(' = ')'
|
|
'{' = '}'
|
|
'[' = ']'
|
|
'"' = '"'
|
|
|
|
[[grammar]]
|
|
|
|
name = "roc"
|
|
source = { git = "https://github.com/faldor20/tree-sitter-roc.git", rev = "ef46edd0c03ea30a22f7e92bc68628fb7231dc8a" }
|