diff options
Diffstat (limited to 'compiler/ls.vim')
-rw-r--r-- | compiler/ls.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/ls.vim b/compiler/ls.vim index df792917..b8bc8a6b 100644 --- a/compiler/ls.vim +++ b/compiler/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 @@ -74,5 +76,3 @@ augroup LiveScriptUpdateMakePrg autocmd BufFilePost,BufWritePost call s:UpdateMakePrg() endif augroup END - -endif |