From 94f72a68c3dccade13ec7203a284620040f930f1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 11 Mar 2014 00:36:09 +0100 Subject: Update --- indent/arduino.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 indent/arduino.vim (limited to 'indent/arduino.vim') diff --git a/indent/arduino.vim b/indent/arduino.vim new file mode 100644 index 00000000..b10e6e2f --- /dev/null +++ b/indent/arduino.vim @@ -0,0 +1,15 @@ +" Vim indent file +" Language: Arduino +" Maintainer: Kevin Sjöberg +" Last Change: 2014 Feb 28 + +" 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