view runtime/ftplugin/go.vim @ 8740:a35b596cd7ac v7.4.1659

commit https://github.com/vim/vim/commit/e1581307d281ceb35726e1b4ca30ef773a2ef23e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 26 21:04:48 2016 +0100 patch 7.4.1659 Problem: Compiler warning for argument type. (Manuel Ortega) Solution: Remove "&".
author Christian Brabandt <cb@256bit.org>
date Sat, 26 Mar 2016 21:15:06 +0100
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