Add tsx support, fixes #330
This commit is contained in:
parent
ebf81f7369
commit
b4cb58661e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user