Move *.tsx mode def from module-js to module-web

This commit is contained in:
Henrik Lissner 2016-08-16 09:01:27 +02:00
parent 056e519153
commit f886e273d7
2 changed files with 2 additions and 2 deletions

View file

@ -86,8 +86,7 @@
:config (setq-default coffee-indent-like-python-mode t))
(use-package typescript-mode
:mode (("\\.ts$" . typescript-mode)
("\\.tsx$" . web-mode))
:mode "\\.ts$"
:init
(add-hook! typescript-mode
'(rainbow-delimiters-mode doom|ts-fontify)))

View file

@ -19,6 +19,7 @@
"\\.jsp$"
"\\.as[cp]x$"
"\\.mustache$"
"\\.tsx$"
"wp-content/themes/.+/.+\\.php$")
:init
(add-hook 'web-mode-hook 'turn-off-smartparens-mode)