emacs: Add nextls as alternative Elixir language server
This commit is contained in:
parent
e590918785
commit
d28cb255df
1 changed files with 1 additions and 1 deletions
|
@ -1101,7 +1101,7 @@ Automatically use the =<lang>-ts-mode= when it is available
|
||||||
(add-to-list 'eglot-server-programs
|
(add-to-list 'eglot-server-programs
|
||||||
'(conf-toml-mode . ("taplo" "lsp" "stdio")))
|
'(conf-toml-mode . ("taplo" "lsp" "stdio")))
|
||||||
(add-to-list 'eglot-server-programs
|
(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)
|
(add-to-list 'eglot-stay-out-of 'flymake)
|
||||||
(setq eglot-autoshutdown t
|
(setq eglot-autoshutdown t
|
||||||
eldoc-echo-area-use-multiline-p 0.1)
|
eldoc-echo-area-use-multiline-p 0.1)
|
||||||
|
|
Loading…
Reference in a new issue