summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.el b/init.el
index 822d897..2d5e100 100644
--- a/init.el
+++ b/init.el
@@ -191,6 +191,7 @@ This functions should be added to the hooks of major modes for programming."
(flycheck-mode +1)
(setq flycheck-check-syntax-automatically '(save mode-enabled))
(company-mode-on)))
+(add-to-list 'auto-mode-alist `(,(rx ".tsx" string-end) . web-mode))
;; aligns annotation to the right hand side
(setq company-tooltip-align-annotations t)