]> Cypherpunks repositories - gostls13.git/commit
misc/vim: fix Drop for imports after the first group.
authorDavid Symonds <dsymonds@golang.org>
Wed, 19 Sep 2012 22:11:07 +0000 (08:11 +1000)
committerDavid Symonds <dsymonds@golang.org>
Wed, 19 Sep 2012 22:11:07 +0000 (08:11 +1000)
commitadcf0a2aa06ec1424b4d51d2b7ce043a60d29361
tree1b1fdbd144b95aafcff60907524b471c064c712b
parent83601807af568eb0131ebe300965cd6418da1dc5
misc/vim: fix Drop for imports after the first group.

Previously, an import block such as
import (
         "net"

                "stack"
        )
would not permit ":Drop stack" to work because we were aborting
the scan early, which is only correct when Import is in operation.

R=golang-dev, franciscossouza
CC=golang-dev
https://golang.org/cl/6532053
misc/vim/ftplugin/go/import.vim
misc/vim/ftplugin/go/test.sh