view runtime/ftplugin/go.vim @ 8304:097886a3379b v7.4.1444

commit https://github.com/vim/vim/commit/0f526f5652e0a5432493b3f2a1cb34ab99a9da0a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 27 22:59:41 2016 +0100 patch 7.4.1444 Problem: Can't build with JSON but without multi-byte. Solution: Fix pointer name.
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Feb 2016 23:00:04 +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