]> Cypherpunks repositories - gostls13.git/commit
misc/vim: Disable automatic line wrapping by textwidth.
authorDavid Barnett <dbarnett@google.com>
Wed, 26 Mar 2014 02:51:16 +0000 (13:51 +1100)
committerDavid Symonds <dsymonds@golang.org>
Wed, 26 Mar 2014 02:51:16 +0000 (13:51 +1100)
commit3eb591ff76c9edb8a9ed6466712be425269f8739
tree8a7d82b461694e54bb16ea4cb878947213187cd2
parente673fd9344047630790890c5928e8223a8410847
misc/vim: Disable automatic line wrapping by textwidth.

If someone configures a 'textwidth' in go files, vim will by default insert
newlines into long lines as you type, which breaks syntax and doesn't really
make sense for go code. This fixes the default.

LGTM=dsymonds
R=golang-codereviews, gobot, dsymonds
CC=golang-codereviews
https://golang.org/cl/76890046
misc/vim/ftplugin/go.vim