github.com/spotify/syslog-redirector-golang@v0.0.0-20140320174030-4859f03d829a/misc/vim/ftplugin/go.vim (about)

     1  " Copyright 2013 The Go Authors. All rights reserved.
     2  " Use of this source code is governed by a BSD-style
     3  " license that can be found in the LICENSE file.
     4  "
     5  " go.vim: Vim filetype plugin for Go.
     6  
     7  if exists("b:did_ftplugin")
     8      finish
     9  endif
    10  let b:did_ftplugin = 1
    11  
    12  setlocal comments=s1:/*,mb:*,ex:*/,://
    13  setlocal commentstring=//\ %s
    14  
    15  let b:undo_ftplugin = "setl com< cms<"
    16  
    17  " vim:ts=4:sw=4:et