13231
|
1 " CHICKEN-specific Vim customizations
|
13437
|
2 " Last Change: 2018-03-05
|
13231
|
3 " Author: Evan Hanson <evhan@foldling.org>
|
|
4 " Maintainer: Evan Hanson <evhan@foldling.org>
|
25619
|
5 " Repository: https://git.foldling.org/vim-scheme.git
|
13231
|
6 " URL: https://foldling.org/vim/ftplugin/chicken.vim
|
|
7 " Notes: These are supplemental settings, to be loaded after the core
|
|
8 " Scheme ftplugin file (ftplugin/scheme.vim). Enable it by setting
|
|
9 " b:is_chicken=1 and filetype=scheme.
|
|
10
|
|
11 if !exists('b:did_scheme_ftplugin')
|
|
12 finish
|
|
13 endif
|
|
14
|
|
15 setl keywordprg=chicken-doc
|
|
16
|
|
17 setl lispwords+=and-let*
|
|
18 setl lispwords+=compiler-typecase
|
|
19 setl lispwords+=condition-case
|
|
20 setl lispwords+=define-compiler-syntax
|
|
21 setl lispwords+=define-constant
|
|
22 setl lispwords+=define-external
|
|
23 setl lispwords+=define-for-syntax
|
13437
|
24 setl lispwords+=define-foreign-type
|
13231
|
25 setl lispwords+=define-inline
|
13437
|
26 setl lispwords+=define-location
|
13231
|
27 setl lispwords+=define-record
|
|
28 setl lispwords+=define-record-printer
|
|
29 setl lispwords+=define-specialization
|
|
30 setl lispwords+=fluid-let
|
13437
|
31 setl lispwords+=foreign-lambda*
|
|
32 setl lispwords+=foreign-primitive
|
|
33 setl lispwords+=foreign-safe-lambda*
|
|
34 setl lispwords+=functor
|
13231
|
35 setl lispwords+=handle-exceptions
|
|
36 setl lispwords+=let-compiler-syntax
|
13437
|
37 setl lispwords+=let-location
|
13231
|
38 setl lispwords+=let-optionals
|
|
39 setl lispwords+=let-optionals*
|
|
40 setl lispwords+=letrec-values
|
|
41 setl lispwords+=match
|
|
42 setl lispwords+=match-let
|
|
43 setl lispwords+=match-let*
|
13437
|
44 setl lispwords+=match-letrec
|
13231
|
45 setl lispwords+=module
|
|
46 setl lispwords+=receive
|
|
47 setl lispwords+=set!-values
|
13437
|
48 setl lispwords+=test-group
|
13231
|
49
|
|
50 let b:undo_ftplugin = b:undo_ftplugin . ' keywordprg<'
|
|
51
|
|
52 if exists('g:loaded_matchit') && !exists('b:match_words')
|
|
53 let b:match_words = '#>:<#'
|
|
54 let b:undo_ftplugin = b:undo_ftplugin . ' | unlet! b:match_words'
|
|
55 endif
|