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