uhh i fibed helix i think
This commit is contained in:
parent
89419f6f08
commit
bbc74fd88f
|
@ -1,13 +1,20 @@
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "typst"
|
name = "rust"
|
||||||
scope = "source.typst"
|
|
||||||
injection-regex = "^typst$"
|
|
||||||
file-types = ["typ"]
|
|
||||||
comment-token = "//"
|
|
||||||
indent = { tab-width = 2, unit = " " }
|
|
||||||
roots = []
|
|
||||||
language-server = { command = "typst-lsp" }
|
|
||||||
|
|
||||||
[[grammar]]
|
[language-server.rust-analyzer.config.check]
|
||||||
name = "typst"
|
command = "clippy"
|
||||||
source = { git = "https://github.com/frozolotl/tree-sitter-typst.git" }
|
|
||||||
|
[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