Skip to content

Commit eefcdb0

Browse files
committed
Merge pull request #1 from KevinSjoberg/feature/indention
Add indention
2 parents 9c064d1 + 8c7bd5c commit eefcdb0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

indent/arduino.vim

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
" Vim indent file
2+
" Language: Arduino
3+
" Maintainer: Kevin Sjöberg <kev.sjoberg@gmail.com>
4+
" Last Change: 2014 Feb 28
5+
6+
" Only load this indent file when no other was loaded.
7+
if exists("b:did_indent")
8+
finish
9+
endif
10+
let b:did_indent = 1
11+
12+
" C++ indenting is built-in, thus this is very simple
13+
setlocal cindent
14+
15+
let b:undo_indent = "setl cin<"

0 commit comments

Comments
 (0)