diff options
Diffstat (limited to 'indent/liquid.vim')
-rw-r--r-- | indent/liquid.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indent/liquid.vim b/indent/liquid.vim index 1f12eec5..a8988b5a 100644 --- a/indent/liquid.vim +++ b/indent/liquid.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'liquid') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'liquid') != -1 + finish +endif + " Vim indent file " Language: Liquid " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -63,5 +65,3 @@ function! GetLiquidIndent(...) let ind -= sw * s:count(cline,'{%\s*end\w*$') return ind endfunction - -endif |