Elixir language server not working #10530
-
Hello, I'm trying to do some work in Elixir. When I enter an Elixir codebase, if I try to use LSP features, they don't work. However, I have hx --health elixir
Configured language servers:
✓ elixir-ls: /home/utilisateur/.local/bin/elixir-ls
Configured debug adapter: None
Configured formatter: None
Highlight queries: ✓
Textobject queries: ✓
Indent queries: ✓
the general health of my install: hx --health
Config file: /home/utilisateur/.config/helix/config.toml
Language file: /home/utilisateur/.config/helix/languages.toml
Log file: /home/utilisateur/.cache/helix/helix.log
Runtime directories: /home/utilisateur/.config/helix/runtime;/home/utilisateur/.cargo/bin/runtime
Clipboard provider: wl-paste+wl-copy
System clipboard provider: wl-paste+wl-copy if we look in [[language]]
name = "elixir"
scope = "source.elixir"
file-types = ["ex", "exs"]
auto-format = true
diagnostic-severity = "Hint"
comment-token = "#"
indent = {tab-width = 2, unit = " "}
injection-regex = "(elixir|ex)"
shebangs = ["elixir"]
roots = ["mix.exs", "mix.lock"]
language-servers = [ "elixir-ls" ]
I also have I'm curious as to why it's not working on Elixir, and how I can get it working. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
https://github.com/helix-editor/helix/wiki/Troubleshooting#lsp-isnt-working |
Beta Was this translation helpful? Give feedback.
From the
window/logMessage
line it looks like ElixirLS has an internal error during startup: