mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-13 05:53:50 -05:00
Use upstreadm mdx ftdetect
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user