emacs: Fix Elixir language server configuration

This commit is contained in:
Erwin Boskma 2024-01-11 22:46:41 +01:00
parent d28cb255df
commit d07c1c8829
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -1101,7 +1101,7 @@ Automatically use the =<lang>-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) . (eglot-alternatives '(("nextls" "--stdio") "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)