Fix performance issue with markdown highlighting

This commit is contained in:
Adam Stankiewicz
2019-12-31 14:23:47 +01:00
parent a60e299a3c
commit e8454d66ab
3 changed files with 2 additions and 207 deletions

View File

@@ -816,7 +816,7 @@ endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'markdown') == -1
augroup filetypedetect
" markdown, from markdown.vim in plasticboy/vim-markdown
" markdown, from markdown.vim in plasticboy/vim-markdown:_NOAFTER
if !has('patch-7.4.480')
" Before this patch, vim used modula2 for .md.
au! filetypedetect BufRead,BufNewFile *.md