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
It appears that any @media stuff within the opening { and closing } are not initially highlighted correctly because it's interpreted as cssPropRegion.
This sort of fixes itself after that first rule set since the closing } closes the cssPropRegion. However, it means the final closing } of the @media group is then not highlighted at all since it's just considered arbitrary text.
I don't know Vim syntax API well enough to fix this quickly, the only way I can think of is a hefty re-write of how cssPropRegion is defined.
The text was updated successfully, but these errors were encountered:
it means the final closing } of the @media group is then not highlighted at all since it's just considered arbitrary text
It's because cssFuncRegion can't work with nested regions: it only work well with single level.
Honestly, this script needs a full re-write to make it work better, but VimL doesn't match my expectation. That's why I stopped updating it. I'm waiting for the next Vim with Python.
It appears that any @media stuff within the opening
{
and closing}
are not initially highlighted correctly because it's interpreted ascssPropRegion
.This sort of fixes itself after that first rule set since the closing
}
closes thecssPropRegion
. However, it means the final closing}
of the @media group is then not highlighted at all since it's just considered arbitrary text.I don't know Vim syntax API well enough to fix this quickly, the only way I can think of is a hefty re-write of how cssPropRegion is defined.
The text was updated successfully, but these errors were encountered: