chicken.vim 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. " CHICKEN-specific Vim customizations
  2. " Last Change: 2018-03-05
  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 core
  8. " Scheme ftplugin file (ftplugin/scheme.vim). Enable it by setting
  9. " b:is_chicken=1 and filetype=scheme.
  10. if !exists('b:did_scheme_ftplugin')
  11. finish
  12. endif
  13. setl keywordprg=chicken-doc
  14. setl lispwords+=and-let*
  15. setl lispwords+=compiler-typecase
  16. setl lispwords+=condition-case
  17. setl lispwords+=define-compiler-syntax
  18. setl lispwords+=define-constant
  19. setl lispwords+=define-external
  20. setl lispwords+=define-for-syntax
  21. setl lispwords+=define-foreign-type
  22. setl lispwords+=define-inline
  23. setl lispwords+=define-location
  24. setl lispwords+=define-record
  25. setl lispwords+=define-record-printer
  26. setl lispwords+=define-specialization
  27. setl lispwords+=fluid-let
  28. setl lispwords+=foreign-lambda*
  29. setl lispwords+=foreign-primitive
  30. setl lispwords+=foreign-safe-lambda*
  31. setl lispwords+=functor
  32. setl lispwords+=handle-exceptions
  33. setl lispwords+=let-compiler-syntax
  34. setl lispwords+=let-location
  35. setl lispwords+=let-optionals
  36. setl lispwords+=let-optionals*
  37. setl lispwords+=letrec-values
  38. setl lispwords+=match
  39. setl lispwords+=match-let
  40. setl lispwords+=match-let*
  41. setl lispwords+=match-letrec
  42. setl lispwords+=module
  43. setl lispwords+=receive
  44. setl lispwords+=set!-values
  45. setl lispwords+=test-group
  46. let b:undo_ftplugin = b:undo_ftplugin . ' keywordprg<'
  47. if exists('g:loaded_matchit') && !exists('b:match_words')
  48. let b:match_words = '#>:<#'
  49. let b:undo_ftplugin = b:undo_ftplugin . ' | unlet! b:match_words'
  50. endif