all repos — nixfiles @ 858fab63545ef351ff2a9f2786b7515d1cf3a66e

System and user configuration, managed by nix and home-manager

Emacs: fix unbound regex in tsx mode specification
Alan Pearce alan@alanpearce.eu
Sat, 11 Jan 2020 20:39:52 +0100
commit

858fab63545ef351ff2a9f2786b7515d1cf3a66e

parent

6c72dfb857be4f9b79949c444cb1e67ac4a6c97d

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -777,7 +777,7 @@ ;;;; 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