Change web-mode default lsp languaje to html.
This commit is contained in:
parent
cddf20683e
commit
83f311024a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user