Open bamoqi opened 7 years ago
This is pretty annoying for me. I use <
to mean 'less than' in markdown documents very frequently, and HTML tags very rarely. Knowing how to disable this would be excellent.
I'm unable to reproduce this. But here is a related problem
* 4
5 > 6
The > is highlighted as an htmlError. I think that htmlError should be disabled by default, since it's wrong being picky about html when the main syntax is markdown.
Here's another example, which is pretty annoying for me:
$1 < 2$
Here's some text.
Everything after '
is colored, because vim-markdown thinks this is some kind of string.
Similar problem again. This is possibly due to the highlight scheme for HTML installed with my vim. One possible solution is to use a customer highlight scheme for HTML and remove the group htmlTag
.
Excerpt from vim's highlight file (Archlinux).
syn region htmlTag start=+<[^/]+ end=+>+ fold contains=htmlTagN,htmlString,htmlArg,htmlValue,htmlTagError,htmlEvent,htmlCssDefinition,@htmlPreproc,@htmlArgCluster
Duplicate of #138
In text
"5 6 7" would be highlighted as html, until a ">" is encountered to cancal the hightlight. According to Markdown reference http://daringfireball.net/projects/markdown/syntax#autoescape , we should recognize them as non-HTML. Quote: