1
0
forked from aniani/vim

patch 9.1.0276: No pandoc syntax support

Problem:  No pandoc syntax support
Solution: Add pandoc syntax and compiler plugins
          (Wu, Zhenyu, Konfekt)

closes: #14389

Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Wu, Zhenyu
2024-04-08 20:53:19 +02:00
committed by Christian Brabandt
parent fc21b6437c
commit 7005b7ee7f
8 changed files with 874 additions and 3 deletions

View File

@@ -1322,7 +1322,12 @@ au BufNewFile,BufRead *.mv,*.mpl,*.mws setf maple
au BufNewFile,BufRead *.map setf map
" Markdown
au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,*.md setf markdown
au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,*.mdwn,*.md
\ if exists("g:filetype_md") |
\ exe "setf " . g:filetype_md |
\ else |
\ setf markdown |
\ endif
" Mason
au BufNewFile,BufRead *.mason,*.mhtml,*.comp setf mason
@@ -2860,6 +2865,9 @@ au BufNewFile,BufRead */etc/hostname.* call s:StarSetf('config')
" Pam conf
au BufNewFile,BufRead */etc/pam.d/* call s:StarSetf('pamconf')
" Pandoc
au BufNewFile,BufRead,BufFilePost *.pandoc,*.pdk,*.pd,*.pdc setf pandoc
" Printcap and Termcap
au BufNewFile,BufRead *printcap*
\ if !did_filetype()