annotate runtime/ftplugin/scheme.vim @ 26877:06a137af96f8 v8.2.3967

patch 8.2.3967: error messages are spread out Commit: https://github.com/vim/vim/commit/460ae5dfca31fa627531c263184849976755cf6b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 14:19:49 2022 +0000 patch 8.2.3967: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 15:30:05 +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