refactor!(erlang): remove company-erlang
BREAKING CHANGE: Remove `company-erlang` which depends on `ivy-erlang-complete`. `company-erlang` and `ivy-erlang-complte` have not been maintained now. The lsp mode provides much better experience than `company-erlang` and `ivy-erlang-complete`. The `ivy-erlang-complete` package also has the defect that slow down the erlang-mode buffer when the buffer is huge enough. It is not a good choice to integrate ivy-erlang-complete nowadays even as a non-LSP option.
This commit is contained in:
parent
beda11068b
commit
0e99b6b952
2 changed files with 0 additions and 12 deletions
|
@ -7,12 +7,3 @@
|
|||
:config
|
||||
(when (featurep! +lsp)
|
||||
(add-hook 'erlang-mode-local-vars-hook #'lsp!)))
|
||||
|
||||
|
||||
(use-package! company-erlang
|
||||
:when (featurep! :completion company)
|
||||
:unless (featurep! +lsp)
|
||||
:hook (erlang-mode . company-erlang-init)
|
||||
:config
|
||||
(add-hook! 'erlang-mode-hook
|
||||
(add-hook 'after-save-hook #'ivy-erlang-complete-reparse nil t)))
|
||||
|
|
|
@ -2,6 +2,3 @@
|
|||
;;; lang/erlang/packages.el
|
||||
|
||||
(package! erlang :pin "c1ab4b5424be7504cfc3c4e87a2116b7731d8f2d")
|
||||
(unless (featurep! +lsp)
|
||||
(when (featurep! :completion company)
|
||||
(package! company-erlang :pin "bc0524a16f17b66c7397690e4ca0e004f09ea6c5")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue