1" CHICKEN-specific Vim customizations 2" Last Change: 2018-03-05 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+=compiler-typecase 18setl lispwords+=condition-case 19setl lispwords+=define-compiler-syntax 20setl lispwords+=define-constant 21setl lispwords+=define-external 22setl lispwords+=define-for-syntax 23setl lispwords+=define-foreign-type 24setl lispwords+=define-inline 25setl lispwords+=define-location 26setl lispwords+=define-record 27setl lispwords+=define-record-printer 28setl lispwords+=define-specialization 29setl lispwords+=fluid-let 30setl lispwords+=foreign-lambda* 31setl lispwords+=foreign-primitive 32setl lispwords+=foreign-safe-lambda* 33setl lispwords+=functor 34setl lispwords+=handle-exceptions 35setl lispwords+=let-compiler-syntax 36setl lispwords+=let-location 37setl lispwords+=let-optionals 38setl lispwords+=let-optionals* 39setl lispwords+=letrec-values 40setl lispwords+=match 41setl lispwords+=match-let 42setl lispwords+=match-let* 43setl lispwords+=match-letrec 44setl lispwords+=module 45setl lispwords+=receive 46setl lispwords+=set!-values 47setl lispwords+=test-group 48 49let b:undo_ftplugin = b:undo_ftplugin . ' keywordprg<' 50 51if exists('g:loaded_matchit') && !exists('b:match_words') 52 let b:match_words = '#>:<#' 53 let b:undo_ftplugin = b:undo_ftplugin . ' | unlet! b:match_words' 54endif 55