view runtime/ftplugin/go.vim @ 10293:0bf1d211e441 v8.0.0043

commit https://github.com/vim/vim/commit/9ec7fa82a2c4f0283862ed704c2940959e6130ee Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 18 13:06:41 2016 +0200 patch 8.0.0043 Problem: When using Insert mode completion with 'completeopt' containing "noinsert" with CTRL-N the change is not saved for undo. (Tommy Allen) Solution: Call stop_arrow() before inserting for any key.
author Christian Brabandt <cb@256bit.org>
date Tue, 18 Oct 2016 13:15:05 +0200
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