]> Cypherpunks repositories - gostls13.git/commit
misc/vim: Document better syntax sync parameter
authorGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 1 Feb 2011 00:12:45 +0000 (11:12 +1100)
committerAndrew Gerrand <adg@golang.org>
Tue, 1 Feb 2011 00:12:45 +0000 (11:12 +1100)
commit400d7772cc7f990f93330d3652545147f60ff3cb
tree2ec7c0b6dcfc3a370f1b9721cd2cd3505b68f4c0
parentcb584707af2d8803adba88fd9692e665ecd2f059
misc/vim: Document better syntax sync parameter

Forcing the synchronization of 500 lines is both slower and
less precise than searching for a known sync point.
Unfortunately, though, the way to synchronize correctly is
using the grouphere instruction, which has a bug.

I've already proposed the fix to Vim, so future releases
should have this working.  We can continue using the 500 lines
syncing for now.

This change just documents the proper way to sync.

R=adg, dsymonds
CC=golang-dev
https://golang.org/cl/4029047
misc/vim/syntax/go.vim