Change web-mode default lsp languaje to html.

This commit is contained in:
kj 2022-08-18 16:48:25 -04:00
parent cddf20683e
commit 83f311024a

View File

@ -57,7 +57,7 @@
;; Remove php extension on form lsp ;; Remove php extension on form lsp
(setq lsp-language-id-configuration (setq lsp-language-id-configuration
(remove '(".*\\.php$" . "php") lsp-language-id-configuration)) (remove '(".*\\.php$" . "php") lsp-language-id-configuration))
(add-to-list 'lsp-language-id-configuration '(web-mode . "php")) (add-to-list 'lsp-language-id-configuration '(web-mode . "html"))
;; Disable `lsp-mode' in `git-timemachine-mode' ;; Disable `lsp-mode' in `git-timemachine-mode'
(defun my-lsp--init-if-visible (fn &rest args) (defun my-lsp--init-if-visible (fn &rest args)