.emacs.d

My Emacs configuration files.
Log | Files | Refs | README

commit 3e149d855352229f23852f8a36021e9aa25ce90e
parent a8840d2b4653acd363ecadf1c70b525062926440
Author: Hugo Soucy <hugo.soucy@equisoft.com>
Date:   Fri,  5 Jul 2019 09:10:02 -0400

Add tsx to the web-mode extensions

Diffstat:
Mpartials/webdev.el | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/partials/webdev.el b/partials/webdev.el @@ -32,6 +32,7 @@ (add-to-list 'auto-mode-alist '("\\.etlua\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.twig\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.jsx\\'" . web-mode)) + (add-to-list 'auto-mode-alist '("\\.tsx\\'" . web-mode)) (defadvice web-mode-highlight-part (around tweak-jsx activate) (if (equal web-mode-content-type "jsx") (let ((web-mode-enable-part-face nil))