annotate runtime/ftplugin/scheme.vim @ 34372:d8c69a773456 v9.1.0115

patch 9.1.0115: Using freed memory with full tag stack and user data Commit: https://github.com/vim/vim/commit/c86bff1771ed9c340f8f4433ae5530fd6de97980 Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Feb 18 18:53:08 2024 +0100 patch 9.1.0115: Using freed memory with full tag stack and user data Problem: Using freed memory with full tag stack and user data (Konstantin Khlebnikov) Solution: Clear the user data pointer of the newest entry. (zeertzjq, Konstantin Khlebnikov) fixes: neovim/neovim#27498 closes: #14053 Co-authored-by: Konstantin Khlebnikov koct9i@gmail.com Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Konstantin Khlebnikov koct9i@gmail.com Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 18 Feb 2024 19:00:03 +0100
parents 29ec2c198c8d
children 7c7432a53a6c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
1 " Vim filetype plugin file
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
2 " Language: Scheme (R7RS)
25619
29ec2c198c8d Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
3 " Last Change: 2019-11-19
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
4 " Author: Evan Hanson <evhan@foldling.org>
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
5 " Maintainer: Evan Hanson <evhan@foldling.org>
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
6 " Previous Maintainer: Sergey Khorev <sergey.khorev@gmail.com>
25619
29ec2c198c8d Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
7 " Repository: https://git.foldling.org/vim-scheme.git
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
8 " URL: https://foldling.org/vim/ftplugin/scheme.vim
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
9
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
10 if exists('b:did_ftplugin')
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
11 finish
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
12 endif
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
13
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
14 let s:cpo = &cpo
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
15 set cpo&vim
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
16
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
17 setl lisp
13437
02b3f719eacb Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13231
diff changeset
18 setl comments=:;;;;,:;;;,:;;,:;,sr:#\|,mb:\|,ex:\|#
4119
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3410
diff changeset
19 setl commentstring=;%s
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
20 setl define=^\\s*(def\\k*
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
21 setl iskeyword=33,35-39,42-43,45-58,60-90,94,95,97-122,126
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
23 let b:undo_ftplugin = 'setl lisp< comments< commentstring< define< iskeyword<'
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
24
18664
daa71bf6b546 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 13437
diff changeset
25 setl lispwords+=case
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
26 setl lispwords+=define
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
27 setl lispwords+=define-record-type
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
28 setl lispwords+=define-syntax
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
29 setl lispwords+=define-values
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
30 setl lispwords+=do
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
31 setl lispwords+=guard
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
32 setl lispwords+=lambda
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
33 setl lispwords+=let
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
34 setl lispwords+=let*
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
35 setl lispwords+=let*-values
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
36 setl lispwords+=let-syntax
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
37 setl lispwords+=let-values
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
38 setl lispwords+=letrec
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
39 setl lispwords+=letrec*
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
40 setl lispwords+=letrec-syntax
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
41 setl lispwords+=parameterize
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
42 setl lispwords+=set!
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
43 setl lispwords+=syntax-rules
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
44 setl lispwords+=unless
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
45 setl lispwords+=when
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
46
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
47 let b:undo_ftplugin = b:undo_ftplugin . ' lispwords<'
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
48
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
49 let b:did_scheme_ftplugin = 1
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
50
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
51 if exists('b:is_chicken') || exists('g:is_chicken')
25619
29ec2c198c8d Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18664
diff changeset
52 runtime! ftplugin/chicken.vim
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
53 endif
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
54
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
55 unlet b:did_scheme_ftplugin
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
56 let b:did_ftplugin = 1
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
57 let &cpo = s:cpo
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
58 unlet s:cpo