Fix markdown and other highlighting, #578

This commit is contained in:
Adam Stankiewicz
2020-10-08 00:40:28 +02:00
parent b3763a917a
commit bb3de8fa5e
14 changed files with 1690 additions and 234 deletions

View File

@@ -118,6 +118,11 @@ augroup filetypedetect
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
if !has_key(s:disabled_packages, 'html')
au! BufNewFile,BufRead,BufWritePost *.html call polyglot#detect#Html()
au BufNewFile,BufRead *.htm,*.html.hl,*.inc,*.st,*.xht,*.xhtml setf html
endif
if !has_key(s:disabled_packages, 'pullrequest')
au BufNewFile,BufRead PULLREQ_EDITMSG setf pullrequest
endif
@@ -2197,11 +2202,6 @@ if !has_key(s:disabled_packages, 'i3')
au BufNewFile,BufRead *.i3.config,*.i3config,{.,}i3.config,{.,}i3config,i3.config,i3config setf i3config
endif
if !has_key(s:disabled_packages, 'html5')
au! BufNewFile,BufRead,BufWritePost *.html call polyglot#detect#Html()
au BufNewFile,BufRead *.htm,*.html.hl,*.inc,*.st,*.xht,*.xhtml setf html
endif
if !has_key(s:disabled_packages, 'hive')
au BufNewFile,BufRead *.hql,*.q,*.ql setf hive
endif