From aed8ce9da277f5ecffe968b324f242c41c3b752a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 10:50:31 +0200 Subject: Adding upstream version 2:9.0.1378. Signed-off-by: Daniel Baumann --- runtime/indent/cpp.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 runtime/indent/cpp.vim (limited to 'runtime/indent/cpp.vim') diff --git a/runtime/indent/cpp.vim b/runtime/indent/cpp.vim new file mode 100644 index 0000000..ffa37d7 --- /dev/null +++ b/runtime/indent/cpp.vim @@ -0,0 +1,15 @@ +" Vim indent file +" Language: C++ +" Maintainer: Bram Moolenaar +" Last Change: 2008 Nov 29 + +" 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 + +let b:undo_indent = "setl cin<" -- cgit v1.2.3