Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/vim71/indent/cpp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim71/indent/cpp.vim')
-rw-r--r--vim71/indent/cpp.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/vim71/indent/cpp.vim b/vim71/indent/cpp.vim
new file mode 100644
index 0000000..9ae126a
--- /dev/null
+++ b/vim71/indent/cpp.vim
@@ -0,0 +1,13 @@
+" Vim indent file
+" Language: C++
+" Maintainer: Bram Moolenaar <Bram@vim.org>
+" Last Change: 2001 Jun 12
+
+" Only load this indent file when no other was loaded.
+if exists("b:did_indent")
+ finish
+endif
+let b:did_indent = 1
+
+" C++ indenting is built-in, thus this is very simple
+setlocal cindent