uhh i fibed helix i think

This commit is contained in:
lotte 2024-01-20 11:13:45 +01:00
parent 89419f6f08
commit bbc74fd88f
1 changed files with 18 additions and 11 deletions

View File

@ -1,13 +1,20 @@
[[language]]
name = "typst"
scope = "source.typst"
injection-regex = "^typst$"
file-types = ["typ"]
comment-token = "//"
indent = { tab-width = 2, unit = " " }
roots = []
language-server = { command = "typst-lsp" }
name = "rust"
[[grammar]]
name = "typst"
source = { git = "https://github.com/frozolotl/tree-sitter-typst.git" }
[language-server.rust-analyzer.config.check]
command = "clippy"
[language-server.solargraph]
command = "solargraph"
args = ["stdio"]
config = { diagnostics = false, formatting = false }
[language-server.rubocop]
command = "rubocop"
args = ["--lsp", "--stderr", "--fail-level", "fatal"]
timeout = 3
[[language]]
name = "ruby"
language-servers = ["rubocop", { name = "solargraph", except-features = [ "format", "diagnostics" ] }]
auto-format = true