summaryrefslogtreecommitdiffstats
path: root/indent/ls.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/ls.vim')
-rw-r--r--indent/ls.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/ls.vim b/indent/ls.vim
index 240eab07..975c5dab 100644
--- a/indent/ls.vim
+++ b/indent/ls.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'livescript') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'livescript') != -1
+ finish
+endif
+
" Language: LiveScript
" Maintainer: George Zahariev
" URL: http://github.com/gkz/vim-ls
@@ -264,5 +266,3 @@ function! GetLiveScriptIndent(curlinenum)
return indent
endfunction
-
-endif