diff options
author | David Li <li.davidm96@gmail.com> | 2018-03-04 19:49:04 -0500 |
---|---|---|
committer | David Li <li.davidm96@gmail.com> | 2018-03-04 19:49:04 -0500 |
commit | de4aaa4fa9d4c9f7e7b05784395a9685f5ab4184 (patch) | |
tree | 5df02c037f7b52433b73c81d941ac8fa939155cb | |
parent | 0bcda96e065ec0546bb4cd58fec83184d87e9aca (diff) |
Use web-mode for tsx files
-rw-r--r-- | init.el | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |