summaryrefslogtreecommitdiffstats
path: root/indent/arduino.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--indent/arduino.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/arduino.vim b/indent/arduino.vim
index d29cbba7..6432bc4c 100644
--- a/indent/arduino.vim
+++ b/indent/arduino.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'arduino') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'arduino') == -1
" Vim indent file
" Language: Arduino
" Maintainer: Kevin Sjöberg <kev.sjoberg@gmail.com>
@@ -17,3 +14,4 @@ let b:did_indent = 1
setlocal cindent
let b:undo_indent = "setl cin<"
+endif