Add LSP Support to Erlang
This commit is contained in:
parent
12094788d7
commit
89dd2f98a4
1 changed files with 4 additions and 0 deletions
|
@ -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!))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue