vim-markdown
vim-markdown copied to clipboard
Heading Highlighting problem
from this commit https://github.com/plasticboy/vim-markdown/commit/3f34995e77ea238730d3a08fc051647282922af6
cause highlight heading from
to
I wanna highlight #
too as previous.
so, could you give us a option to switching previous mode ?
I had this problem too. I wrote my own as a workaround:
syn region md_a_text matchgroup=md_a_mark start=/<\S\@=/ end=/\S\@=>/
syn region md_b_text matchgroup=md_b_mark start=/\*\*/ end=/\*\*/
syn region md_h1_text matchgroup=md_h_mark start=/^# / end=/$/
syn region md_h2_text matchgroup=md_h_mark start=/^## / end=/$/
syn region md_pre_text matchgroup=md_pre_mark start=/^\~\~\~/ end=/^\~\~\~$/
syn region md_pre_text matchgroup=md_pre_mark start=/`/ end=/`/
" Read a small amount before the cursor
syn sync minlines=60