Add tsx support, fixes #330

This commit is contained in:
Adam Stankiewicz 2019-03-04 11:46:48 +01:00
parent ebf81f7369
commit b4cb58661e
2 changed files with 4 additions and 4 deletions

View File

@ -72,8 +72,8 @@ augroup filetypedetect
"jinja "jinja
autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja
"mdx "tsx
autocmd BufNewFile,BufRead *.mdx set filetype=markdown.mdx autocmd BufNewFile,BufRead *.tsx setfiletype typescript.jsx
augroup END augroup END
" Fix for https://github.com/sheerun/vim-polyglot/issues/236#issuecomment-387984954 " Fix for https://github.com/sheerun/vim-polyglot/issues/236#issuecomment-387984954

View File

@ -72,8 +72,8 @@ augroup filetypedetect
"jinja "jinja
autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja
"mdx "tsx
autocmd BufNewFile,BufRead *.mdx set filetype=markdown.mdx autocmd BufNewFile,BufRead *.tsx setfiletype typescript.jsx
augroup END augroup END
" Fix for https://github.com/sheerun/vim-polyglot/issues/236#issuecomment-387984954 " Fix for https://github.com/sheerun/vim-polyglot/issues/236#issuecomment-387984954