diff options
Diffstat (limited to 'ftplugin/latextoc.vim')
-rw-r--r-- | ftplugin/latextoc.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/latextoc.vim b/ftplugin/latextoc.vim index 9553b211..1c4c4953 100644 --- a/ftplugin/latextoc.vim +++ b/ftplugin/latextoc.vim @@ -1,7 +1,4 @@ -if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'latex') != -1 - finish -endif - +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'latex') == -1 " {{{1 Settings setlocal buftype=nofile setlocal bufhidden=wipe @@ -204,3 +201,4 @@ nnoremap <buffer> <silent> <Esc>OD h " }}}1 " vim:fdm=marker:ff=unix:et:ts=4:sw=4 +endif |