]> Cypherpunks repositories - gostls13.git/commit
misc/vim: Adding flag-guarding for Vim commands
authorJosh Hoak <jhoak@google.com>
Thu, 13 Jun 2013 05:07:09 +0000 (15:07 +1000)
committerDavid Symonds <dsymonds@golang.org>
Thu, 13 Jun 2013 05:07:09 +0000 (15:07 +1000)
commitb76ddefee593c50c658f4d7b876c354296b1d31b
treef0ae8338f85c2ac698aaf8c43b513f18a85748b6
parente59a09fb1aa386aa7e9258cd1bf8a7c7ed03d6fe
misc/vim: Adding flag-guarding for Vim commands

Default behavior is the same as before, but now a user may selectively disable some commands.

Also: deleted the mappings for import.vim.

Tested: by trying the commands for fmt, import and godoc in succession to make sure they still work. Also, ran test.sh in ftplugin/go.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/10124043
misc/vim/ftplugin/go/fmt.vim
misc/vim/ftplugin/go/import.vim
misc/vim/plugin/godoc.vim