annotate runtime/ftplugin/go.vim @ 20972:d561e3c6cd65
v8.2.1037
patch 8.2.1037: Vim9: crash when using line continuation inside :def
Commit: https://github.com/vim/vim/commit/acd4c5e914f8a06745624ba585f3d06d5faf4ddd
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 22 19:39:03 2020 +0200
patch 8.2.1037: Vim9: crash when using line continuation inside :def
Problem: Vim9: crash when using line continuation inside :def.
Solution: Check for no more lines available.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 22 Jun 2020 19:45:03 +0200 |
parents |
1e8ebf870720 |
children |
99d97826842a |
rev |
line source |
6153
|
1 " Vim filetype plugin file
|
|
2 " Language: Go
|
|
3 " Maintainer: David Barnett (https://github.com/google/vim-ft-go)
|
|
4 " Last Change: 2014 Aug 16
|
|
5
|
|
6 if exists('b:did_ftplugin')
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
|
11 setlocal formatoptions-=t
|
|
12
|
|
13 setlocal comments=s1:/*,mb:*,ex:*/,://
|
|
14 setlocal commentstring=//\ %s
|
|
15
|
|
16 let b:undo_ftplugin = 'setl fo< com< cms<'
|
|
17
|
|
18 " vim: sw=2 sts=2 et
|