Mercurial > vim
annotate runtime/ftplugin/lisp.vim @ 21152:1561311249bb v8.2.1127
patch 8.2.1127: Vim9: getting a dict member may not work
Commit: https://github.com/vim/vim/commit/fb9d5c51c8b5b44863f974e1adbee9ae330e75ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 4 19:19:43 2020 +0200
patch 8.2.1127: Vim9: getting a dict member may not work
Problem: Vim9: getting a dict member may not work.
Solution: Clear the dict only after copying the item. (closes https://github.com/vim/vim/issues/6390)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 04 Jul 2020 19:30:04 +0200 |
parents | 9521463d4fc1 |
children | ef454a7f485d |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin |
2 " Language: Lisp | |
36 | 3 " Maintainer: Sergey Khorev <sergey.khorev@gmail.com> |
3256 | 4 " URL: http://sites.google.com/site/khorser/opensource/vim |
36 | 5 " Original author: Dorai Sitaram <ds26@gte.com> |
6 " Original URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html | |
5425 | 7 " Last Change: Oct 23, 2013 |
7 | 8 |
9 " Only do this when not done yet for this buffer | |
10 if exists("b:did_ftplugin") | |
11 finish | |
12 endif | |
13 | |
14 " Don't load another plugin for this buffer | |
15 let b:did_ftplugin = 1 | |
16 | |
17 setl comments=:; | |
18 setl define=^\\s*(def\\k* | |
19 setl formatoptions-=t | |
20 setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94 | |
21 setl lisp | |
4119 | 22 setl commentstring=;%s |
36 | 23 |
24 setl comments^=:;;;,:;;,sr:#\|,mb:\|,ex:\|# | |
3410
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
3256
diff
changeset
|
25 |
4119 | 26 let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp< commentstring<" |