[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:
parent
d900b26291
commit
d8260ea041
|
@ -61,8 +61,8 @@
|
||||||
(defun lsp/init-lsp-origami ()
|
(defun lsp/init-lsp-origami ()
|
||||||
(use-package lsp-origami
|
(use-package lsp-origami
|
||||||
:defer t
|
:defer t
|
||||||
:hook
|
:init
|
||||||
(lsp-after-open lsp-origami-try-enable)))
|
(add-hook 'lsp-after-open-hook #'lsp-origami-try-enable)))
|
||||||
|
|
||||||
(defun lsp/pre-init-popwin ()
|
(defun lsp/pre-init-popwin ()
|
||||||
(spacemacs|use-package-add-hook popwin
|
(spacemacs|use-package-add-hook popwin
|
||||||
|
|
Loading…
Reference in a new issue