annotate runtime/ftplugin/lisp.vim @ 24852:3c8bd1d392d1 v8.2.2964

patch 8.2.2964: Vim9: hang when using space after -> Commit: https://github.com/vim/vim/commit/a733042b124357225e4081e10ef28591236c6077 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 8 20:46:45 2021 +0200 patch 8.2.2964: Vim9: hang when using space after -> Problem: Vim9: hang when using space after ->. (Naohiro Ono) Solution: Skip over white space to find the function name. (closes https://github.com/vim/vim/issues/8341)
author Bram Moolenaar <Bram@vim.org>
date Tue, 08 Jun 2021 21:00:03 +0200
parents 4ab4ef0c48b1
children 7c7432a53a6c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim filetype plugin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Lisp
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
3 " Maintainer: Sergey Khorev <sergey.khorev@gmail.com>
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 233
diff changeset
4 " URL: http://sites.google.com/site/khorser/opensource/vim
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
5 " Original author: Dorai Sitaram <ds26@gte.com>
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
6 " Original URL: http://www.ccs.neu.edu/~dorai/vimplugins/vimplugins.html
24278
4ab4ef0c48b1 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 24024
diff changeset
7 " Last Change: Mar 10, 2021
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " Only do this when not done yet for this buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 if exists("b:did_ftplugin")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " Don't load another plugin for this buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 let b:did_ftplugin = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
24024
ef454a7f485d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 5425
diff changeset
17 setl comments=:;;;;,:;;;,:;;,:;,sr:#\|,mb:\|,ex:\|#
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 setl define=^\\s*(def\\k*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 setl formatoptions-=t
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 setl iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 setl lisp
4119
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3410
diff changeset
22 setl commentstring=;%s
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
23
4119
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3410
diff changeset
24 let b:undo_ftplugin = "setlocal comments< define< formatoptions< iskeyword< lisp< commentstring<"