uhh i fibed helix i think
This commit is contained in:
parent
89419f6f08
commit
bbc74fd88f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue