summaryrefslogtreecommitdiffstats
path: root/indent
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-03-11 00:36:09 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2014-03-11 00:36:09 +0100
commit94f72a68c3dccade13ec7203a284620040f930f1 (patch)
treea19a08381285c40c59f882b211039514ea2e69d4 /indent
parent9b3b092d15503ed70ea4bf60c4e1345b196c3677 (diff)
downloadvim-polyglot-1.5.3.tar.gz
vim-polyglot-1.5.3.zip
Updatev1.5.3
Diffstat (limited to 'indent')
-rw-r--r--indent/arduino.vim15
1 files changed, 15 insertions, 0 deletions
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 <kev.sjoberg@gmail.com>
+" 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<"