diff options
Diffstat (limited to 'ftplugin/latextoc.vim')
-rw-r--r-- | ftplugin/latextoc.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ftplugin/latextoc.vim b/ftplugin/latextoc.vim index bfb8658e..9553b211 100644 --- a/ftplugin/latextoc.vim +++ b/ftplugin/latextoc.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 + " {{{1 Settings setlocal buftype=nofile setlocal bufhidden=wipe @@ -202,5 +204,3 @@ nnoremap <buffer> <silent> <Esc>OD h " }}}1 " vim:fdm=marker:ff=unix:et:ts=4:sw=4 - -endif |