1" CHICKEN-specific Vim customizations 2" Last Change: 2018-01-06 3" Author: Evan Hanson <[email protected]> 4" Maintainer: Evan Hanson <[email protected]> 5" URL: https://foldling.org/vim/ftplugin/chicken.vim 6" Notes: These are supplemental settings, to be loaded after the core 7" Scheme ftplugin file (ftplugin/scheme.vim). Enable it by setting 8" b:is_chicken=1 and filetype=scheme. 9 10if !exists('b:did_scheme_ftplugin') 11 finish 12endif 13 14setl keywordprg=chicken-doc 15 16setl lispwords+=and-let* 17setl lispwords+=begin-for-syntax 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-inline 25setl lispwords+=define-record 26setl lispwords+=define-record-printer 27setl lispwords+=define-specialization 28setl lispwords+=define-syntax-rule 29setl lispwords+=eval-when 30setl lispwords+=fluid-let 31setl lispwords+=handle-exceptions 32setl lispwords+=let-compiler-syntax 33setl lispwords+=let-optionals 34setl lispwords+=let-optionals* 35setl lispwords+=letrec-values 36setl lispwords+=match 37setl lispwords+=match-lambda 38setl lispwords+=match-lambda* 39setl lispwords+=match-let 40setl lispwords+=match-let* 41setl lispwords+=module 42setl lispwords+=receive 43setl lispwords+=select 44setl lispwords+=set!-values 45 46let b:undo_ftplugin = b:undo_ftplugin . ' keywordprg<' 47 48if exists('g:loaded_matchit') && !exists('b:match_words') 49 let b:match_words = '#>:<#' 50 let b:undo_ftplugin = b:undo_ftplugin . ' | unlet! b:match_words' 51endif 52