annotate runtime/ftplugin/jsonnet.vim @ 31517:cd5247f4da06
v9.0.1091
patch 9.0.1091: assignment to non-existing member causes a crash
Commit: https://github.com/vim/vim/commit/f54cedd6763e7727b4bfaeb34bb7c365a17675eb
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 23 17:56:27 2022 +0000
patch 9.0.1091: assignment to non-existing member causes a crash
Problem: Assignment to non-existing member causes a crash. (Yegappan
Lakshmanan)
Solution: Give an error message and bail out when a member cannot be found.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Fri, 23 Dec 2022 19:00:04 +0100 |
parents |
fee9eccee266 |
children |
|
rev |
line source |
30202
|
1 " Vim filetype plugin
|
|
2 " Language: Jsonnet
|
|
3 " Maintainer: Cezary Drożak <cezary@drozak.net>
|
|
4 " URL: https://github.com/google/vim-jsonnet
|
|
5 " Last Change: 2022-09-08
|
|
6
|
|
7 " Only do this when not done yet for this buffer
|
|
8 if exists("b:did_ftplugin")
|
|
9 finish
|
|
10 endif
|
|
11
|
|
12 " Don't load another plugin for this buffer
|
|
13 let b:did_ftplugin = 1
|
|
14
|
|
15 setlocal commentstring=//\ %s
|
|
16
|
|
17 let b:undo_ftplugin = "setlocal commentstring<"
|