Open wsdjeg opened 8 years ago
trigger FileType event will break the markdown highlight.
after :e
command, highlight work again.
Same issue. I use https://github.com/sheerun/vim-polyglot to load plasticboy/vim-markdown.
:e command doesn't work for me.
I found sheerun/vim-polyglot doesn't play nicely with plasticboy/vim-markdown
https://github.com/sheerun/vim-polyglot/issues/152#issuecomment-497419925
not sure which end should resolve this issue
Same here. :e
does work for me though.
The other difference is that I'm using Plug
instead of dein
.
Comment 872th line in ftplugin/mrakdown.vim
will fix my problem:
autocmd BufWinEnter <buffer> call s:MarkdownRefreshSyntax(1)
I also have the same problem using vim-packager. :edit
works for me, and with the help of @mrbeardad above, I was able to add this block to my vim config as a fix:
" https://github.com/preservim/vim-markdown/issues/268
augroup markdown_fix
autocmd!
autocmd BufWinEnter *.md execute ":edit"
augroup END
I just try call
if this plugin is lazy load then reproduce step is here