vim-flavored-markdown icon indicating copy to clipboard operation
vim-flavored-markdown copied to clipboard

Disable underscore in latex block?

Open shenfei opened this issue 10 years ago • 3 comments

Usually underscores may occur in a latex block. For example, $\sum_{i=1}^{n}{f(x)}$. I can get the right result in pdf via pandoc, but in vim, the content after underscore are still recognized as emphasized part. So vim still highlight them, which bothers me a lot. Is there a way that just disable markdown underscores in latex blocks? If so, that would be very helpful!

shenfei avatar Oct 23 '14 07:10 shenfei

I completely agree, @shenfei - it's been driving me a bit nuts.

An imperfect fix can be attained by commenting out this line:

https://github.com/jtratner/vim-flavored-markdown/blob/master/syntax/ghmarkdown.vim#L70

in your local syntax file. I never felt the need for highlighting italicized text anyway.

binaryaaron avatar Mar 02 '15 01:03 binaryaaron

+1

phcerdan avatar Jan 18 '17 11:01 phcerdan

+1

subsid avatar Jan 22 '18 15:01 subsid