You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 would like to disable highlighting of
markdownError
.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 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?!
The text was updated successfully, but these errors were encountered: