annotate runtime/indent/cpp.vim @ 23988:686af23ec132 v8.2.2536

patch 8.2.2536: Coverity complains about unchecked return value Commit: https://github.com/vim/vim/commit/dc167465f87a4f03f9e085597dfcfdde39fcd2b9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 20 20:26:16 2021 +0100 patch 8.2.2536: Coverity complains about unchecked return value Problem: Coverity complains about unchecked return value. Solution: Add (void).
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Feb 2021 20:30:03 +0100
parents 7bc41231fbc7
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>
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
4 " Last Change: 2008 Nov 29
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
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
14
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
15 let b:undo_indent = "setl cin<"