aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lsp/lexical.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/lsp/lexical.lua b/lsp/lexical.lua
index ee6d5951..6968a5e1 100644
--- a/lsp/lexical.lua
+++ b/lsp/lexical.lua
@@ -4,13 +4,12 @@
---
--- Lexical is a next-generation language server for the Elixir programming language.
---
---- Follow the [Detailed Installation Instructions](https://github.com/lexical-lsp/lexical/blob/main/pages/installation.md)
----
---- **By default, `lexical` doesn't have a `cmd` set.**
---- This is because nvim-lspconfig does not make assumptions about your path.
+--- To install from source, follow the [Detailed Installation Instructions](https://github.com/lexical-lsp/lexical/blob/main/pages/installation.md).
+--- Ensure to point `cmd` to the generated `_build/dev/package/lexical/start_lexical.sh` executable.
---@type vim.lsp.Config
return {
+ cmd = { 'lexical' },
filetypes = { 'elixir', 'eelixir', 'heex', 'surface' },
root_markers = { 'mix.exs', '.git' },
}