configs/emacs: add a few more file types to web-mode
This commit is contained in:
parent
061c5c7a9a
commit
7fc909e1ed
@ -128,8 +128,10 @@ here.
|
|||||||
(use-package web-mode
|
(use-package web-mode
|
||||||
:config
|
:config
|
||||||
(setq web-mode-markup-indent-offset 2)
|
(setq web-mode-markup-indent-offset 2)
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.php?\\'" . web-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.ts?\\'" . web-mode))
|
(add-to-list 'auto-mode-alist '("\\.ts?\\'" . web-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.js?\\'" .web-mode)))
|
(add-to-list 'auto-mode-alist '("\\.js?\\'" . web-mode)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** scpaste
|
** scpaste
|
||||||
@ -204,7 +206,7 @@ Magit is a awesome. Not sure what else to say about it. :P
|
|||||||
** lsp
|
** lsp
|
||||||
|
|
||||||
Use ~eglot~ for lsp stuff. It's built in and shows a bit more information for
|
Use ~eglot~ for lsp stuff. It's built in and shows a bit more information for
|
||||||
auto-completion stuff.
|
auto-completion stuff.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package eglot
|
(use-package eglot
|
||||||
|
Loading…
Reference in New Issue
Block a user