diff --git a/configs/base-lsp.el b/configs/base-lsp.el index 5c63fe3..ad435da 100644 --- a/configs/base-lsp.el +++ b/configs/base-lsp.el @@ -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)