[lsp] Fix lsp-origami integration

Looks like the provided hook statement
is not working properly with this package.
I have replaced it with the recommended
way defined in the package itself and
now it seems to work.
This commit is contained in:
Maximilian Wolff 2020-09-17 23:54:22 +02:00
parent d900b26291
commit d8260ea041
No known key found for this signature in database
GPG key ID: 2DD07025BFDBD89A

View file

@ -61,8 +61,8 @@
(defun lsp/init-lsp-origami ()
(use-package lsp-origami
:defer t
:hook
(lsp-after-open lsp-origami-try-enable)))
:init
(add-hook 'lsp-after-open-hook #'lsp-origami-try-enable)))
(defun lsp/pre-init-popwin ()
(spacemacs|use-package-add-hook popwin