ch.vim 556 B

12345678910111213141516171819202122
  1. " Vim indent file
  2. " Language: Ch
  3. " Maintainer: SoftIntegration, Inc. <info@softintegration.com>
  4. " URL: http://www.softintegration.com/download/vim/indent/ch.vim
  5. " Last change: 2006 Apr 30
  6. " 2023 Aug 28 by Vim Project (undo_indent)
  7. " Created based on cpp.vim
  8. "
  9. " Ch is a C/C++ interpreter with many high level extensions
  10. " Only load this indent file when no other was loaded.
  11. if exists("b:did_indent")
  12. finish
  13. endif
  14. let b:did_indent = 1
  15. " Ch indenting is built-in, thus this is very simple
  16. setlocal cindent
  17. let b:undo_indent = "setlocal cindent<"