Fix loading when vim8 packages are used

This commit is contained in:
Adam Stankiewicz
2020-10-25 20:40:49 +01:00
parent 45a7512dea
commit ba3fe9e1ae

View File

@@ -17,7 +17,7 @@ endif
" and (mostly comments) from https://github.com/sheerun/vimrc
"
" Only settings that matter for proper editing are left
if !has_key(g:polyglot_is_disabled, 'sensible')
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sensible') == -1
" Allow backspace in insert mode.
if &backspace == ""
set backspace=indent,eol,start