Emacs - Elixir Setup Configuration Wiki

Is the main elixir-ls repo actively maintained again? I see it has new commits.

Btw, I just setup my emacs for elixir development. Thanks for this guide! This is all the configuration I needed to get a very functional setup. Maybe someone finds it useful.

(use-package elixir-mode)

(use-package yasnippet)

(use-package lsp-mode
  :bind ("C-c h" . lsp-describe-thing-at-point)
  :commands lsp
  :ensure t
  :diminish lsp-mode
  :hook
  (elixir-mode . lsp)
  :init
  (add-to-list 'exec-path "D:/repos/elixir-ls/release")
  (setq lsp-ui-doc-enable nil))

(use-package company)

(use-package company-lsp
  :bind
  ("M-SPC" . company-complete)
  :config
  (push 'company-lsp company-backends)
  (setq company-idle-delay 0)
  (setq company-minimum-prefix-length 1))
3 Likes