From 7fc909e1ed51553d7189aec9f653c3b8d5288648 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Thu, 27 Jun 2024 07:26:34 -0600 Subject: [PATCH] configs/emacs: add a few more file types to web-mode --- configs/emacs.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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