summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-03-04 11:46:48 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-03-04 11:46:48 +0100
commitb4cb58661ebf82e117d0c25673e2e59cb18044d2 (patch)
tree821c8c8e2e251b96784e1768a8d1827f1adbe715 /ftdetect
parentebf81f7369e7d7ee73bd2119c57319417f6ab9e8 (diff)
downloadvim-polyglot-b4cb58661ebf82e117d0c25673e2e59cb18044d2.tar.gz
vim-polyglot-b4cb58661ebf82e117d0c25673e2e59cb18044d2.zip
Add tsx support, fixes #330
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index e78ac9dc..894bcbcb 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -72,8 +72,8 @@ augroup filetypedetect
"jinja
autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja
- "mdx
- autocmd BufNewFile,BufRead *.mdx set filetype=markdown.mdx
+ "tsx
+ autocmd BufNewFile,BufRead *.tsx setfiletype typescript.jsx
augroup END
" Fix for https://github.com/sheerun/vim-polyglot/issues/236#issuecomment-387984954