diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index c9b7c1a..f783cf6 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -1101,7 +1101,7 @@ Automatically use the =-ts-mode= when it is available (add-to-list 'eglot-server-programs '(conf-toml-mode . ("taplo" "lsp" "stdio"))) (add-to-list 'eglot-server-programs - '((elixir-mode elixir-ts-mode heex-ts-mode) . ("elixir-ls"))) + '((elixir-mode elixir-ts-mode heex-ts-mode) . (eglot-alternatives '(("nextls" "--stdio") "elixir-ls")))) (add-to-list 'eglot-stay-out-of 'flymake) (setq eglot-autoshutdown t eldoc-echo-area-use-multiline-p 0.1)