Add mdx support, closes #342

This commit is contained in:
Adam Stankiewicz
2019-03-04 11:33:35 +01:00
parent fc272a0aa2
commit b69fbad1af
5 changed files with 55 additions and 2 deletions

View File

@@ -71,6 +71,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
augroup END
" Fix for https://github.com/sheerun/vim-polyglot/issues/236#issuecomment-387984954