diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 17:55:31 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-04 17:55:31 +0100 |
commit | 6f7257ade246f62993a71066f394a3652f9493b6 (patch) | |
tree | bfb99659126b8e31032ae155620854e1a59f694f /ftdetect/polyglot.vim | |
parent | 25ed6ff970d7e64c4ebfc52952431f8b228113d5 (diff) | |
download | vim-polyglot-3.5.1.tar.gz vim-polyglot-3.5.1.zip |
Use upstreadm mdx ftdetectv3.5.1
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 9b91f84a..2113780b 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -72,9 +72,6 @@ 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 @@ -714,6 +711,19 @@ au BufRead,BufNewFile *.{md,mdown,mkd,mkdn,markdown,mdwn}.{des3,des,bf,bfa,aes,i augroup end endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mdx') == -1 + augroup filetypedetect + " mdx, from mdx.vim in jxnblk/vim-mdx-js +" Vim ftdetect file +" +" Language: MDX +" Maintainer: Brent Jackson <jxnblk@gmail.com> +" + +autocmd BufNewFile,BufRead *.mdx set filetype=markdown.mdx + augroup end +endif + if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'meson') == -1 augroup filetypedetect " meson, from meson.vim in mesonbuild/meson:_ALL:/data/syntax-highlighting/vim/ |