Quoting syn-pattern
:
See |pattern| for the explanation of what a pattern is. Syntax patterns are always interpreted like the 'magic' option is set, no matter what the actual value of 'magic' is. And the patterns are interpreted like the 'l' flag is not included in 'cpoptions'. This was done to make syntax files portable and independent of 'compatible' and 'magic' settings.
Yet, I'm reading http://learnvimscriptthehardway.stevelosh.com/chapters/46.html and it gives this example:
syntax match potionComment "\v#.*$"
My interpretation of the doc is that the \v
should be ignored.
I also see people asking on this issue for using very magic. https://github.com/pangloss/vim-javascript/issues/813
I'm getting mixed messages. Does the syntax pattern let you use the very magic option or not?