diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 17:52:38 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 17:53:21 +0100 |
commit | 25ed6ff970d7e64c4ebfc52952431f8b228113d5 (patch) | |
tree | 8d8c1cccbf27959b380bba6efe797338874cc752 | |
parent | 521220f389907255b6d9a87458333b468ffc7ac4 (diff) | |
download | vim-polyglot-25ed6ff970d7e64c4ebfc52952431f8b228113d5.tar.gz vim-polyglot-25ed6ff970d7e64c4ebfc52952431f8b228113d5.zip |
Reintroduce mdx
-rw-r--r-- | config.vim | 3 | ||||
-rw-r--r-- | ftdetect/polyglot.vim | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -72,6 +72,9 @@ 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 diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index cf2ef355..9b91f84a 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -72,6 +72,9 @@ 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 |