This adds the contained argument to some syn match calls, to prevent
them from matching outside of a php region. It was mostly unnoticeable,
but some examples of bad matches were:
PHPDoc tags matched outside of a php region
Blade directives from vim-blade weren't correctly highlighted,
they were overridden by the pattern of phpFunction. For some reason,
only the indented directives didn't match.
Here's a before and after:
before
after
I tested it out for a while and it didn't seem to have any side effects whatsoever.
This adds the
contained
argument to somesyn match
calls, to prevent them from matching outside of a php region. It was mostly unnoticeable, but some examples of bad matches were:phpFunction
. For some reason, only the indented directives didn't match.Here's a before and after:
I tested it out for a while and it didn't seem to have any side effects whatsoever.