From 5b77877888162f4e415fe9a7b8c5e9fb5dfb6ee1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 27 Sep 2017 20:43:42 +0200 Subject: Add syntax files from upstream vim repository --- indent/cpp.vim | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 indent/cpp.vim (limited to 'indent/cpp.vim') diff --git a/indent/cpp.vim b/indent/cpp.vim new file mode 100644 index 00000000..e6bbfc63 --- /dev/null +++ b/indent/cpp.vim @@ -0,0 +1,19 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1 + +" 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<" + +endif -- cgit v1.2.3