view runtime/ftplugin/go.vim @ 17528:62a6d99082f7 v8.1.1762

patch 8.1.1762: some filetype rules are in the wrong place commit https://github.com/vim/vim/commit/c273405188cc2f19e949089cda1f92bd81610dac Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 27 21:57:21 2019 +0200 patch 8.1.1762: some filetype rules are in the wrong place Problem: Some filetype rules are in the wrong place. Solution: Move to the right place. Add a few more tests.
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Jul 2019 22:00:06 +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