2013-06-17 22:59:50 -06:00
|
|
|
" Copyright 2013 The Go Authors. All rights reserved.
|
|
|
|
" Use of this source code is governed by a BSD-style
|
|
|
|
" license that can be found in the LICENSE file.
|
|
|
|
"
|
|
|
|
" go.vim: Vim filetype plugin for Go.
|
|
|
|
|
|
|
|
if exists("b:did_ftplugin")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let b:did_ftplugin = 1
|
|
|
|
|
2014-03-25 20:51:16 -06:00
|
|
|
setlocal formatoptions-=t
|
|
|
|
|
2013-06-17 22:59:50 -06:00
|
|
|
setlocal comments=s1:/*,mb:*,ex:*/,://
|
|
|
|
setlocal commentstring=//\ %s
|
|
|
|
|
2014-03-25 20:51:16 -06:00
|
|
|
let b:undo_ftplugin = "setl fo< com< cms<"
|
2013-06-17 22:59:50 -06:00
|
|
|
|
|
|
|
" vim:ts=4:sw=4:et
|