Disable autoload lsp on prog-mode.
This commit is contained in:
parent
787e23525c
commit
e6e6c20c9c
@ -20,10 +20,9 @@
|
|||||||
lsp-format-buffer
|
lsp-format-buffer
|
||||||
lsp-organize-imports
|
lsp-organize-imports
|
||||||
lsp-install-server)
|
lsp-install-server)
|
||||||
:hook ((prog-mode . (lambda ()
|
:hook ((markdown-mode . lsp-deferred)
|
||||||
(unless (derived-mode-p 'emacs-lisp-mode 'lisp-mode 'makefile-mode)
|
(js-mode . lsp-deferred)
|
||||||
(lsp-deferred))))
|
(php-mode . lsp-deferred)
|
||||||
(markdown-mode . lsp-deferred)
|
|
||||||
(lsp-mode . lsp-enable-which-key-integration))
|
(lsp-mode . lsp-enable-which-key-integration))
|
||||||
:custom
|
:custom
|
||||||
(lsp-headerline-breadcrumb-enable nil)
|
(lsp-headerline-breadcrumb-enable nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user