1
0
Fork 0
mirror of synced 2024-11-18 14:55:34 -05:00
ultimate-vim/sources_non_forked/vim-golang/ftplugin/go.vim

20 lines
426 B
VimL
Raw Normal View History

" 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-07-02 07:18:18 -04:00
setlocal formatoptions-=t
setlocal comments=s1:/*,mb:*,ex:*/,://
setlocal commentstring=//\ %s
2014-07-02 07:18:18 -04:00
let b:undo_ftplugin = "setl fo< com< cms<"
" vim:ts=4:sw=4:et