I would like to disable highlighting of markdownError.
syn match markdownError "\w@<=_\w@="
Do you think an optional setting like markdown_no_error makes sense?
(or markdown_no_underscore_error in case this should be more specific)
My case at hand is including Markdown syntax for Lua comments. But also in other situations I've found that "foo_bar" would not trigger emphasizing after _.
I've only skimmed http://spec.commonmark.org/0.21/#emphasis-and-strong-emphasis (and know that there are other implementations), but it appears that most would handle foo_bar as just "foo_bar" and not foo<em>bar.
Therefore I think the default should maybe even be to not display this type of error - but others might be added in the future?!
I would like to disable highlighting of
markdownError.Do you think an optional setting like
markdown_no_errormakes sense?(or
markdown_no_underscore_errorin case this should be more specific)My case at hand is including Markdown syntax for Lua comments. But also in other situations I've found that "foo_bar" would not trigger emphasizing after
_.I've only skimmed http://spec.commonmark.org/0.21/#emphasis-and-strong-emphasis (and know that there are other implementations), but it appears that most would handle
foo_baras just "foo_bar" and notfoo<em>bar.Therefore I think the default should maybe even be to not display this type of error - but others might be added in the future?!