annotate runtime/ftplugin/scheme.vim @ 15464:3faa7cc8207c v8.1.0740

patch 8.1.0740: Tcl test fails commit https://github.com/vim/vim/commit/8309b0559da6e9a581a7816572594c90c2d7f942 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 13 16:46:22 2019 +0100 patch 8.1.0740: Tcl test fails Problem: Tcl test fails. Solution: When the argument is empty don't give an error, instead rely on the error reporting higher up.
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Jan 2019 17:00:06 +0100
parents 02b3f719eacb
children daa71bf6b546
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)
13437
02b3f719eacb Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13231
diff changeset
3 " Last Change: 2018-03-05
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>
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
7 " URL: https://foldling.org/vim/ftplugin/scheme.vim
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
8
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
9 if exists('b:did_ftplugin')
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
10 finish
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
11 endif
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
12
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
13 let s:cpo = &cpo
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
14 set cpo&vim
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
15
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
16 setl lisp
13437
02b3f719eacb Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13231
diff changeset
17 setl comments=:;;;;,:;;;,:;;,:;,sr:#\|,mb:\|,ex:\|#
4119
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3410
diff changeset
18 setl commentstring=;%s
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
19 setl define=^\\s*(def\\k*
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
20 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
21
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
22 let b:undo_ftplugin = 'setl lisp< comments< commentstring< define< iskeyword<'
3256
ba708ee8d69d Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 856
diff changeset
23
13437
02b3f719eacb Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13231
diff changeset
24 setl lispwords=case
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
25 setl lispwords+=define
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
26 setl lispwords+=define-record-type
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
27 setl lispwords+=define-syntax
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
28 setl lispwords+=define-values
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
29 setl lispwords+=do
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
30 setl lispwords+=guard
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
31 setl lispwords+=lambda
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
32 setl lispwords+=let
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*-values
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
35 setl lispwords+=let-syntax
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
36 setl lispwords+=let-values
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
37 setl lispwords+=letrec
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-syntax
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
40 setl lispwords+=parameterize
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
41 setl lispwords+=set!
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
42 setl lispwords+=syntax-rules
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
43 setl lispwords+=unless
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
44 setl lispwords+=when
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
45
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
46 let b:undo_ftplugin = b:undo_ftplugin . ' lispwords<'
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
47
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
48 let b:did_scheme_ftplugin = 1
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
49
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
50 if exists('b:is_chicken') || exists('g:is_chicken')
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
51 exe 'ru! ftplugin/chicken.vim'
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
52 endif
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
53
13231
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
54 unlet b:did_scheme_ftplugin
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
55 let b:did_ftplugin = 1
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
56 let &cpo = s:cpo
167a030448fa Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 5425
diff changeset
57 unlet s:cpo