summaryrefslogtreecommitdiffstats
path: root/indent/kotlin.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/kotlin.vim')
-rw-r--r--indent/kotlin.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/kotlin.vim b/indent/kotlin.vim
index aacf3edb..a9a1ae20 100644
--- a/indent/kotlin.vim
+++ b/indent/kotlin.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'kotlin') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'kotlin') != -1
+ finish
+endif
+
" Vim indent file
" Language: Kotlin
" Maintainer: Alexander Udalov
@@ -66,5 +68,3 @@ function! GetKotlinIndent()
return prev_indent
endfunction
-
-endif