From 7ff540ad021e7450b360f91dac010927e9504ade Mon Sep 17 00:00:00 2001 From: GaƩtan Lepage Date: Fri, 12 Dec 2025 00:31:21 +0100 Subject: feat(lexical): default cmd #4231 --- lsp/lexical.lua | 7 +++---- 1 file 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' }, } -- cgit v1.2.3-70-g09d2