view runtime/ftplugin/go.vim @ 24412:0e0943dfdbf9 v8.2.2746

patch 8.2.2746: check for duplicate arguments does not work Commit: https://github.com/vim/vim/commit/87795939d01932b0d8155fd69c7494fa51c523f3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 10 18:21:30 2021 +0200 patch 8.2.2746: check for duplicate arguments does not work Problem: Check for duplicate arguments does not work. Solution: Correct condition.
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Apr 2021 18:30:04 +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