annotate runtime/indent/c.vim @ 15623:e3ddffe48d17 v8.1.0819

patch 8.1.0819: a failed assert with a long string is hard to read commit https://github.com/vim/vim/commit/865767126e97d9ac65e052a657b29bbc32dcb512 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 25 20:48:33 2019 +0100 patch 8.1.0819: a failed assert with a long string is hard to read Problem: A failed assert with a long string is hard to read. Solution: Shorten the assert message.
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Jan 2019 21:00:14 +0100
parents fca8a9b65afa
children 4027cefc2aab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim indent file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
233
fca8a9b65afa updated for version 7.0065
vimboss
parents: 7
diff changeset
4 " Last Change: 2005 Mar 27
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Only load this indent file when no other was loaded.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 if exists("b:did_indent")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 let b:did_indent = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " C indenting is built-in, thus this is very simple
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 setlocal cindent
233
fca8a9b65afa updated for version 7.0065
vimboss
parents: 7
diff changeset
14
fca8a9b65afa updated for version 7.0065
vimboss
parents: 7
diff changeset
15 let b:undo_indent = "setl cin<"