summaryrefslogtreecommitdiffstats
path: root/indent/proto.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/proto.vim')
-rw-r--r--indent/proto.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/proto.vim b/indent/proto.vim
index bf558e76..4520d170 100644
--- a/indent/proto.vim
+++ b/indent/proto.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'protobuf') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'protobuf') != -1
+ finish
+endif
+
" Vim indent file
" Language: Protobuf
" Maintainer: Johannes Zellner <johannes@zellner.org>
@@ -17,5 +19,3 @@ setlocal expandtab
setlocal shiftwidth=2
let b:undo_indent = "setl cin<"
-
-endif