aboutsummaryrefslogtreecommitdiffstats
path: root/lsp
diff options
context:
space:
mode:
authorGaƩtan Lepage <gaetan@glepage.com>2025-12-12 00:31:21 +0100
committerGitHub <noreply@github.com>2025-12-11 18:31:21 -0500
commit7ff540ad021e7450b360f91dac010927e9504ade (patch)
treebb57808f36f73cc5341334080ef02a02a24f2acd /lsp
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-7ff540ad021e7450b360f91dac010927e9504ade.tar
nvim-lspconfig-7ff540ad021e7450b360f91dac010927e9504ade.tar.gz
nvim-lspconfig-7ff540ad021e7450b360f91dac010927e9504ade.tar.bz2
nvim-lspconfig-7ff540ad021e7450b360f91dac010927e9504ade.tar.lz
nvim-lspconfig-7ff540ad021e7450b360f91dac010927e9504ade.tar.xz
nvim-lspconfig-7ff540ad021e7450b360f91dac010927e9504ade.tar.zst
nvim-lspconfig-7ff540ad021e7450b360f91dac010927e9504ade.zip
feat(lexical): default cmd #4231
Diffstat (limited to 'lsp')
-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' },
}