annotate runtime/indent/c.vim @ 10060:cf9e550f17f6
v7.4.2301
commit https://github.com/vim/vim/commit/641ad6c7ac7367f95fd927b8efa4bf74ddb9ccf3
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 1 18:32:11 2016 +0200
patch 7.4.2301
Problem: MS-Windows: some files remain after testing.
Solution: Close the channel output file. Wait for the file handle to be
closed before deleting the file.
author |
Christian Brabandt <cb@256bit.org> |
date |
Thu, 01 Sep 2016 18:45:07 +0200 |
parents |
fca8a9b65afa |
children |
4027cefc2aab |
rev |
line source |
7
|
1 " Vim indent file
|
|
2 " Language: C
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
233
|
4 " Last Change: 2005 Mar 27
|
7
|
5
|
|
6 " Only load this indent file when no other was loaded.
|
|
7 if exists("b:did_indent")
|
|
8 finish
|
|
9 endif
|
|
10 let b:did_indent = 1
|
|
11
|
|
12 " C indenting is built-in, thus this is very simple
|
|
13 setlocal cindent
|
233
|
14
|
|
15 let b:undo_indent = "setl cin<"
|