view runtime/ftplugin/go.vim @ 10492:b2cd5a71f4bb v8.0.0139

commit https://github.com/vim/vim/commit/5e1e6d265d26ee2952c4a018a5ff72c950d2d700 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 2 17:26:00 2017 +0100 patch 8.0.0139 Problem: Warning for unused argument. Solution: Add UNUSED.
author Christian Brabandt <cb@256bit.org>
date Mon, 02 Jan 2017 17:30:04 +0100
parents 1e8ebf870720
children 99d97826842a
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