1
0
mirror of https://github.com/golang/go synced 2024-11-24 07:30:10 -07:00
go/misc/vim/ftplugin
David Barnett 3eb591ff76 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
2014-03-26 13:51:16 +11:00
..
go misc/vim: send Fmt errors to the quickfix list instead of the location list. 2013-11-27 19:32:15 +11:00
go.vim misc/vim: Disable automatic line wrapping by textwidth. 2014-03-26 13:51:16 +11:00