Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | " Vim indent file |
| 2 | " Language: Ch |
Bram Moolenaar | c9b4b05 | 2006-04-30 18:54:39 +0000 | [diff] [blame] | 3 | " Maintainer: SoftIntegration, Inc. <info@softintegration.com> |
| 4 | " URL: http://www.softintegration.com/download/vim/indent/ch.vim |
| 5 | " Last change: 2006 Apr 30 |
dkearns | 0382f05 | 2023-08-29 05:32:59 +1000 | [diff] [blame] | 6 | " 2023 Aug 28 by Vim Project (undo_indent) |
Bram Moolenaar | c9b4b05 | 2006-04-30 18:54:39 +0000 | [diff] [blame] | 7 | " Created based on cpp.vim |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 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 |
dkearns | 0382f05 | 2023-08-29 05:32:59 +1000 | [diff] [blame] | 20 | |
| 21 | let b:undo_indent = "setlocal cindent<" |