diff options
Diffstat (limited to 'ftplugin/latex-box/folding.vim')
-rw-r--r-- | ftplugin/latex-box/folding.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/latex-box/folding.vim b/ftplugin/latex-box/folding.vim index d6f36272..6311ebf2 100644 --- a/ftplugin/latex-box/folding.vim +++ b/ftplugin/latex-box/folding.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'latex') != -1 + finish +endif + " Folding support for LaTeX " @@ -378,5 +380,3 @@ endfunction " {{{1 Footer " vim:fdm=marker:ff=unix:ts=4:sw=4 - -endif |