Reintroduce mdx

This commit is contained in:
Adam Stankiewicz 2019-03-04 17:52:38 +01:00
parent 521220f389
commit 25ed6ff970
2 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,9 @@ 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
autocmd BufNewFile,BufRead *.mdx set filetype=markdown.mdx
"tsx "tsx
autocmd BufNewFile,BufRead *.tsx setfiletype typescript.jsx autocmd BufNewFile,BufRead *.tsx setfiletype typescript.jsx
augroup END augroup END

View File

@ -72,6 +72,9 @@ 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
autocmd BufNewFile,BufRead *.mdx set filetype=markdown.mdx
"tsx "tsx
autocmd BufNewFile,BufRead *.tsx setfiletype typescript.jsx autocmd BufNewFile,BufRead *.tsx setfiletype typescript.jsx
augroup END augroup END