diff --git a/configs/emacs.org b/configs/emacs.org index 45ca8d0..79f70df 100644 --- a/configs/emacs.org +++ b/configs/emacs.org @@ -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