vim-pandoc / vim-pandoc-syntax

pandoc markdown syntax, to be installed alongside vim-pandoc
MIT License
424 stars 61 forks source link

Citation highlight breaks with vim-colors-pencil colorscheme reload #376

Closed jamespeapen closed 1 year ago

jamespeapen commented 2 years ago

Hi!

I've been using the vim-pandoc plugin for citation completion in markdown and it worked really well. However, once I installed vim-pandoc-syntax, I noticed that it breaks citation highlighting groups in the vim-pencil-colors colorscheme.

When the colorscheme is first loaded, it works, but if it's reloaded, the citation groups look like they're cleared.

:colo pencil
:highlight
image
:colo pencil
:highlight
image

I found the reloading issue in goyo.vim and if this is a colorscheme bug, I can open this issue with vim-pencil-colors. However, this bug is only present when vim-pandoc-syntax is loaded.