summaryrefslogtreecommitdiffstats
path: root/indent/qml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/qml.vim')
-rw-r--r--indent/qml.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/qml.vim b/indent/qml.vim
index 18807a7a..7e1c2019 100644
--- a/indent/qml.vim
+++ b/indent/qml.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'qml') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'qml') != -1
+ finish
+endif
+
" Vim indent file
" Language: QML
" Author: Robert Kieffer
@@ -59,5 +61,3 @@ function! GetJsIndent()
return ind
endfunction
-
-endif