- I'm not having too much luck understanding syntax syncing. I have a
syn region line_whole start=/^@/ end=/^@/me=s-1 '
which has various contained items. If the start of the region,
i.e. "@ stuff1",
@ more stuff
scrolls off the top of the screen, the highlighting dies between "@ stuff1"
and "@more stuff". I've set
syntax sync minlines=50
and that works, but the actual number should be much larger than 50,
(~500+) which gets pretty slow. I though I should be able to define a match
syn sync match syncstart groupthere NONE /^@/
syn sync match syncstop grouphere NONE /^@/
syn sync match syncstart groupthere line_whole /^@/
syn sync match syncstop grouphere line_whole /^@/
etc. I've only been able to see any difference in behavior with maxlines,
so I'm not getting anywhere debugging it. I haven't found enough examples
to get a grip on what it's supposed to look like.