view runtime/ftplugin/go.vim @ 23009:1fa84623fc68 v8.2.2051

patch 8.2.2051: Vim9: crash when aborting a user function call Commit: https://github.com/vim/vim/commit/34c54eb6cbda5dbc14376c8b1c62ad11d4852793 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 25 19:15:19 2020 +0100 patch 8.2.2051: Vim9: crash when aborting a user function call Problem: Vim9: crash when aborting a user function call. Solution: Do not use the return value when aboring. (closes https://github.com/vim/vim/issues/7372)
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Nov 2020 19:30: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