Skip to content

hochata/eglot-elixir

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eglot-elixir

Automatically download, install and keep up to date elixir-ls (https://github.com/elixir-lsp/elixir-ls) and set it up for use with eglot.

Usage: After adding this package to your load path

;; After eglot is loaded
(add-to-list 'eglot-server-programs `(elixir-mode . eglot-elixir))

Or if you are using the new Elixir mode with Treesitter support (elixir-ts-mode)

;; After eglot is loaded
(add-to-list 'eglot-server-programs `(elixir-ts-mode . eglot-elixir))
(add-to-list 'eglot-server-programs `(heex-ts-mode . eglot-elixir))

This sets eglot up to use this packages’ eglot-elixir function as startup function for eglot.

For the first run, eglot should be started manually by executing M-x eglot in an Elixir buffer.

About

Eglot and elixir-lsp integration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%