]> Cypherpunks repositories - gostls13.git/commit
misc/vim: add plugin with Fmt command.
authorDmitry Chestnykh <dchest@gmail.com>
Wed, 13 Apr 2011 01:55:41 +0000 (11:55 +1000)
committerDavid Symonds <dsymonds@golang.org>
Wed, 13 Apr 2011 01:55:41 +0000 (11:55 +1000)
commit89901bbd14298f4e21c1b8bf8df166c47480183d
tree036f8e09d886c90506067804545c5b14245009dc
parent1de71a07e08c86e6fdf1be4ca11ae57c7c757635
misc/vim: add plugin with Fmt command.

Fmt command filters the current Go buffer through gofmt.
It tries to preserve cursor position and avoids replacing
the buffer with stderr output.

R=golang-dev, dsymonds, niemeyer
CC=golang-dev
https://golang.org/cl/4382053
misc/vim/ftplugin/go/fmt.vim [new file with mode: 0644]