From d4f252565ad7098658f91bcbdf33dcce697bfb63 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 6 Sep 2019 16:26:33 +0200 Subject: Remove unnecessary tsx fix --- config.vim | 4 ---- ftdetect/polyglot.vim | 4 ---- 2 files changed, 8 deletions(-) diff --git a/config.vim b/config.vim index 00557aa0..1565a7ec 100644 --- a/config.vim +++ b/config.vim @@ -80,7 +80,3 @@ augroup filetypedetect "jinja autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja augroup END - -augroup filetypedetect - autocmd BufNewFile,BufReadPost *.tsx setlocal filetype=typescript.tsx -augroup END diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index b627c35b..0060dfd6 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -80,10 +80,6 @@ augroup filetypedetect "jinja autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja augroup END - -augroup filetypedetect - autocmd BufNewFile,BufReadPost *.tsx setlocal filetype=typescript.tsx -augroup END if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'acpiasl') == -1 augroup filetypedetect " acpiasl, from asl.vim in martinlroth/vim-acpi-asl -- cgit v1.2.3