Add LSP Support to Erlang

This commit is contained in:
Peter Steidel 2020-01-14 14:18:52 -05:00
parent 12094788d7
commit 89dd2f98a4

View file

@ -22,4 +22,8 @@
(use-package! company-erlang (use-package! company-erlang
:when (featurep! :completion company) :when (featurep! :completion company)
:unless (featurep! +lsp)
:hook (erlang-mode . company-erlang-init)) :hook (erlang-mode . company-erlang-init))
(when (featurep! +lsp)
(add-hook 'erlang-mode-hook #'lsp!))