diff options
Diffstat (limited to '')
-rw-r--r-- | config.vim | 4 | ||||
-rw-r--r-- | ftdetect/polyglot.vim | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 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 |