diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 11:33:35 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 11:33:35 +0100 |
commit | b69fbad1af47d632fd5f6d289afb8429c5e8618d (patch) | |
tree | c9df735673a9a9327c7524cd57d65c64c1bdad09 /ftdetect | |
parent | fc272a0aa272b0cd8f292baf64b9ee34a1f48b12 (diff) | |
download | vim-polyglot-b69fbad1af47d632fd5f6d289afb8429c5e8618d.tar.gz vim-polyglot-b69fbad1af47d632fd5f6d289afb8429c5e8618d.zip |
Add mdx support, closes #342
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 3316c3b7..e78ac9dc 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -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 |