configs/emacs: add a few more file types to web-mode

This commit is contained in:
Aaron Bieber 2024-06-27 07:26:34 -06:00
parent 061c5c7a9a
commit 7fc909e1ed
No known key found for this signature in database

View File

@ -128,8 +128,10 @@ here.
(use-package web-mode
:config
(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 '("\\.js?\\'" .web-mode)))
(add-to-list 'auto-mode-alist '("\\.js?\\'" . web-mode)))
#+end_src
** scpaste
@ -204,7 +206,7 @@ Magit is a awesome. Not sure what else to say about it. :P
** lsp
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
(use-package eglot