Yongwei Wu wrote:
[...]
However, it is only a *little* better. Scroll down to make the first
comment line disappear on the top of the Vim window, and press Ctrl-L,
highlighting will have problems. C comments have not this problem.
More clues?
Best regards,
Yongwei
See the various flavours of the ":syntax sync" command:
:help :syn-sync
:help :syn-sync-maxlines
:help :syn-sync-linebreaks
:help :syn-sync-first " fromstart
:help :syn-sync-second " ccomment
:help :syn-sync-third " minlines
:help :syn-sync-fourth " patterns: grouphere, groupthere, linecount
Best regards,
Tony.