4injection-regex = "rust"
6roots = ["Cargo.toml", "Cargo.lock"]
9language-server = { command = "rust-analyzer" }
10indent = { tab-width = 4, unit = " " }
15injection-regex = "toml"
20indent = { tab-width = 2, unit = " " }
25injection-regex = "protobuf"
30indent = { tab-width = 2, unit = " " }
34scope = "source.elixir"
35injection-regex = "elixir"
36file-types = ["ex", "exs"]
41language-server = { command = "elixir-ls" }
42indent = { tab-width = 2, unit = " " }
47injection-regex = "fish"
53indent = { tab-width = 4, unit = " " }
58injection-regex = "mint"
64language-server = { command = "mint", args = ["ls"] }
65indent = { tab-width = 2, unit = " " }
70injection-regex = "json"
74indent = { tab-width = 2, unit = " " }
80file-types = ["c"] # TODO: ["h"]
84language-server = { command = "clangd" }
85indent = { tab-width = 2, unit = " " }
90injection-regex = "cpp"
91file-types = ["cc", "hh", "cpp", "hpp", "h", "ipp", "tpp", "cxx", "hxx", "ixx", "txx", "ino"]
95language-server = { command = "clangd" }
96indent = { tab-width = 2, unit = " " }
100scope = "source.csharp"
101injection-regex = "c-?sharp"
106indent = { tab-width = 4, unit = "\t" }
111injection-regex = "go"
113roots = ["Gopkg.toml", "go.mod"]
117language-server = { command = "gopls" }
118# TODO: gopls needs utf-8 offsets?
119indent = { tab-width = 4, unit = "\t" }
124injection-regex = "^(js|javascript)$"
125file-types = ["js", "mjs"]
129# TODO: highlights-jsx, highlights-params
131indent = { tab-width = 2, unit = " " }
136injection-regex = "^(ts|typescript)$"
140# TODO: highlights-jsx, highlights-params
142language-server = { command = "typescript-language-server", args = ["--stdio"] }
143indent = { tab-width = 2, unit = " " }
148injection-regex = "^(tsx)$" # |typescript
151# TODO: highlights-jsx, highlights-params
153language-server = { command = "typescript-language-server", args = ["--stdio"] }
154indent = { tab-width = 2, unit = " " }
159injection-regex = "css"
163indent = { tab-width = 2, unit = " " }
167scope = "text.html.basic"
168injection-regex = "html"
172indent = { tab-width = 2, unit = " " }
176scope = "source.python"
177injection-regex = "python"
183language-server = { command = "pylsp" }
184# TODO: pyls needs utf-8 offsets
185indent = { tab-width = 4, unit = " " }
190injection-regex = "nix"
196language-server = { command = "rnix-lsp" }
197indent = { tab-width = 2, unit = " " }
202injection-regex = "ruby"
208language-server = { command = "solargraph", args = ["stdio"] }
209indent = { tab-width = 2, unit = " " }
214injection-regex = "bash"
215file-types = ["sh", "bash"]
216shebangs = ["sh", "bash", "dash"]
220language-server = { command = "bash-language-server", args = ["start"] }
221indent = { tab-width = 2, unit = " " }
226injection-regex = "php"
231indent = { tab-width = 4, unit = " " }
236injection-regex = "tex"
241indent = { tab-width = 4, unit = "\t" }
245scope = "source.julia"
246injection-regex = "julia"
250language-server = { command = "julia", args = [
256 using LanguageServer;
259 env_path = dirname(Pkg.Types.Context().env.project_file);
260 server = LanguageServer.LanguageServerInstance(stdin, stdout, env_path, "");
261 server.runlinter = true;
265indent = { tab-width = 2, unit = " " }
270injection-regex = "java"
273indent = { tab-width = 4, unit = " " }
277scope = "source.ledger"
278injection-regex = "ledger"
279file-types = ["ldg", "ledger", "journal"]
282indent = { tab-width = 4, unit = " " }
286scope = "source.ocaml"
287injection-regex = "ocaml"
291comment-token = "(**)"
292indent = { tab-width = 2, unit = " " }
295name = "ocaml-interface"
296scope = "source.ocaml.interface"
300comment-token = "(**)"
301indent = { tab-width = 2, unit = " "}
310indent = { tab-width = 2, unit = " " }
314scope = "source.svelte"
315injection-regex = "svelte"
316file-types = ["svelte"]
318indent = { tab-width = 2, unit = " " }
319language-server = { command = "svelteserver", args = ["--stdio"] }
325injection-regex = "vue"
328indent = { tab-width = 2, unit = " " }
333file-types = ["yml", "yaml"]
336indent = { tab-width = 2, unit = " " }
340# scope = "source.haskell"
341# injection-regex = "haskell"
344# comment-token = "--"
346# indent = { tab-width = 2, unit = " " }
351injection-regex = "zig"
357language-server = { command = "zls" }
358indent = { tab-width = 4, unit = " " }
362scope = "source.prolog"
364file-types = ["pl", "prolog"]
368language-server = { command = "swipl", args = [
369 "-g", "use_module(library(lsp_server))",
370 "-g", "lsp_server:main",
371 "-t", "halt", "--", "stdio"] }
379indent = { tab-width = 2, unit = " " }
383scope = "source.cmake"
384file-types = ["cmake", "CMakeLists.txt"]
387indent = { tab-width = 2, unit = " " }
388language-server = { command = "cmake-language-server" }
393file-types = ["glsl", "vert", "tesc", "tese", "geom", "frag", "comp" ]
396indent = { tab-width = 4, unit = " " }
401file-types = ["pl", "pm"]
405indent = { tab-width = 2, unit = " " }
414language-server = { command = "racket", args = ["-l", "racket-langserver"] }
418scope = "scope.comment"
421injection-regex = "comment"
429indent = { tab-width = 4, unit = " " }
437indent = { tab-width = 2, unit = " " }
441scope = "source.tablegen"
445indent = { tab-width = 2, unit = " " }
446injection-regex = "tablegen"
451injection-regex = "md|markdown"
455indent = { tab-width = 2, unit = " " }
461roots = ["pubspec.yaml"]
464language-server = { command = "dart", args = ["language-server", "--client-id=helix"] }
465indent = { tab-width = 2, unit = " " }
469scope = "source.scala"
471file-types = ["scala", "sbt"]
473indent = { tab-width = 2, unit = " " }
474language-server = { command = "metals" }
478scope = "source.dockerfile"
479injection-regex = "docker|dockerfile"
480roots = ["Dockerfile"]
481file-types = ["Dockerfile", "dockerfile"]
483indent = { tab-width = 2, unit = " " }
484language-server = { command = "docker-langserver", args = ["--stdio"] }
488scope = "git.commitmsg"
490file-types = ["COMMIT_EDITMSG"]
492indent = { tab-width = 2, unit = " " }
499injection-regex = "diff"
501indent = { tab-width = 2, unit = " " }
505scope = "source.gitrebase"
507file-types = ["git-rebase-todo"]
508injection-regex = "git-rebase"
510indent = { tab-width = 2, unit = " " }
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list