Add support for Elixir LSP via elixir-ls

- Document Elixir with LSP via elixir-ls
- Add ~+lsp~ flag to ~:lang elixir~
This commit is contained in:
Oleksii Filonenko 2019-07-26 21:32:20 +03:00
parent 1a72cf0677
commit 887a36aacf
No known key found for this signature in database
GPG key ID: F3510FE5691629A1
2 changed files with 4 additions and 0 deletions

View file

@ -29,6 +29,9 @@
(sp-local-pair "do " " end" :unless '(sp-in-comment-p sp-in-string-p))
(sp-local-pair "fn " " end" :unless '(sp-in-comment-p sp-in-string-p)))
(when (featurep! +lsp)
(add-hook 'elixir-mode-local-vars-hook #'lsp!))
(use-package! alchemist-company
:when (featurep! :completion company)
:commands alchemist-company