xref: /vim-8.2.3635/runtime/ftplugin/chicken.vim (revision 6aa57295)
1" CHICKEN-specific Vim customizations
2" Last Change: 2018-03-05
3" Author: Evan Hanson <[email protected]>
4" Maintainer: Evan Hanson <[email protected]>
5" Repository: https://git.foldling.org/vim-scheme.git
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
11if !exists('b:did_scheme_ftplugin')
12  finish
13endif
14
15setl keywordprg=chicken-doc
16
17setl lispwords+=and-let*
18setl lispwords+=compiler-typecase
19setl lispwords+=condition-case
20setl lispwords+=define-compiler-syntax
21setl lispwords+=define-constant
22setl lispwords+=define-external
23setl lispwords+=define-for-syntax
24setl lispwords+=define-foreign-type
25setl lispwords+=define-inline
26setl lispwords+=define-location
27setl lispwords+=define-record
28setl lispwords+=define-record-printer
29setl lispwords+=define-specialization
30setl lispwords+=fluid-let
31setl lispwords+=foreign-lambda*
32setl lispwords+=foreign-primitive
33setl lispwords+=foreign-safe-lambda*
34setl lispwords+=functor
35setl lispwords+=handle-exceptions
36setl lispwords+=let-compiler-syntax
37setl lispwords+=let-location
38setl lispwords+=let-optionals
39setl lispwords+=let-optionals*
40setl lispwords+=letrec-values
41setl lispwords+=match
42setl lispwords+=match-let
43setl lispwords+=match-let*
44setl lispwords+=match-letrec
45setl lispwords+=module
46setl lispwords+=receive
47setl lispwords+=set!-values
48setl lispwords+=test-group
49
50let b:undo_ftplugin = b:undo_ftplugin . ' keywordprg<'
51
52if 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'
55endif
56