summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/.emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index ba045b76..473f8d53 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -777,7 +777,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 ;;;; web modes (tsx, html)
 
 (use-package web-mode
-  :mode (("\\.tsx" . web-mode))
+  :mode (("\\.tsx\\'" . web-mode))
   :config (setq web-mode-enable-auto-pairing nil
                 web-mode-code-indent-offset 2
                 web-mode-markup-indent-offset 2