chicken.vim (1765B)
1 " CHICKEN-specific Vim customizations 2 " Last Change: 2024 Jun 21 3 " Author: Evan Hanson <evhan@foldling.org> 4 " Maintainer: Evan Hanson <evhan@foldling.org> 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 8 " core Scheme ftplugin file (ftplugin/scheme.vim). Enable 9 " it by setting 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 24 setl lispwords+=define-foreign-type 25 setl lispwords+=define-inline 26 setl lispwords+=define-location 27 setl lispwords+=define-record 28 setl lispwords+=define-record-printer 29 setl lispwords+=define-specialization 30 setl lispwords+=fluid-let 31 setl lispwords+=foreign-lambda* 32 setl lispwords+=foreign-primitive 33 setl lispwords+=foreign-safe-lambda* 34 setl lispwords+=functor 35 setl lispwords+=handle-exceptions 36 setl lispwords+=let-compiler-syntax 37 setl lispwords+=let-location 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* 44 setl lispwords+=match-letrec 45 setl lispwords+=module 46 setl lispwords+=receive 47 setl lispwords+=set!-values 48 setl lispwords+=test-group 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