1
0
mirror of https://github.com/golang/go synced 2024-11-15 00:40:31 -07:00
go/misc
David Symonds 1489fd1a3e [release-branch.go1] misc/vim: fix :Import insertion heuristic.
««« backport 9bf2225c38eb
misc/vim: fix :Import insertion heuristic.

If a factored import group has a blank line, assume it is dividing
separate groups of imports (e.g. standard library vs. site-specific).
        import (
                "bytes"
                "io"

                "mycorp/package"
        )

The most common case is inserting new standard library imports,
which are usually (stylistically) the first group, so we should drop
"net" in the above example immediately after "io".

Since this logic is getting non-trivial, add a test.

R=golang-dev, minux.ma, franciscossouza
CC=golang-dev
https://golang.org/cl/6445043

»»»
2012-09-22 05:54:17 +10:00
..
arm
bash misc/bash: Completion for go tool. 2012-02-28 07:41:49 +11:00
bbedit misc/bbedit: error and rune support 2011-11-14 11:18:00 -08:00
cgo misc/cgo/gmp: update for Go 1 2012-03-21 00:51:48 +08:00
chrome/gophertool [release-branch.go1] misc/chrome/gophertool: fix manifest 2012-09-22 05:53:59 +10:00
dashboard misc/dashboard: remove remnants of package dashboard 2012-03-20 13:35:31 +11:00
dist [release-branch.go1] undo CL 6118059 / 79503f11634a 2012-04-26 13:32:05 -07:00
emacs [release-branch.go1] misc/emacs: Fix the gofmt patching when the TMPDIR is not the default. 2012-09-22 05:53:55 +10:00
fraise
goplay misc/goplay: fix error on IE8. 2012-03-27 11:16:29 +11:00
IntelliJIDEA
kate kate: add error and rune 2011-11-14 11:16:06 -08:00
notepadplus misc/notepadplus: error and rune support 2011-11-14 11:19:08 -08:00
osx misc/osx: update for dist tool, drop image.bash, update readme 2012-02-07 14:37:57 +11:00
swig various: use $GCFLAGS and $GCIMPORTS like Make does 2011-12-16 11:31:39 -05:00
vim [release-branch.go1] misc/vim: fix :Import insertion heuristic. 2012-09-22 05:54:17 +10:00
xcode misc/xcode: fix typos 2012-03-05 15:50:48 -08:00
zsh misc: add zsh completion for go tool. 2012-03-03 00:12:40 +01:00
benchcmp misc: update usage message in benchcmp for go tool 2012-03-05 10:57:58 +11:00
pprof runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00