Move *.tsx mode def from module-js to module-web
This commit is contained in:
parent
056e519153
commit
f886e273d7
2 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
"\\.jsp$"
|
||||
"\\.as[cp]x$"
|
||||
"\\.mustache$"
|
||||
"\\.tsx$"
|
||||
"wp-content/themes/.+/.+\\.php$")
|
||||
:init
|
||||
(add-hook 'web-mode-hook 'turn-off-smartparens-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue