neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

ch.vim (556B)


      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 
     11 
     12 " Only load this indent file when no other was loaded.
     13 if exists("b:did_indent")
     14   finish
     15 endif
     16 let b:did_indent = 1
     17 
     18 " Ch indenting is built-in, thus this is very simple
     19 setlocal cindent
     20 
     21 let b:undo_indent = "setlocal cindent<"