diff --git a/helix/languages.toml b/helix/languages.toml index 16ee53b..dc16f6e 100644 --- a/helix/languages.toml +++ b/helix/languages.toml @@ -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" } \ No newline at end of file +[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