view runtime/ftplugin/go.vim @ 7147:c590de398af9

commit https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 25 20:34:21 2015 +0200 Update various runtime files.
author Christian Brabandt <cb@256bit.org>
date Fri, 25 Sep 2015 20:45:09 +0200
parents 1e8ebf870720
children
line wrap: on
line source

" Vim filetype plugin file
" Language:	Go
" Maintainer:	David Barnett (https://github.com/google/vim-ft-go)
" Last Change:	2014 Aug 16

if exists('b:did_ftplugin')
  finish
endif
let b:did_ftplugin = 1

setlocal formatoptions-=t

setlocal comments=s1:/*,mb:*,ex:*/,://
setlocal commentstring=//\ %s

let b:undo_ftplugin = 'setl fo< com< cms<'

" vim: sw=2 sts=2 et