Skip to content

Commit ba3fe9e

Browse files
committed
Fix loading when vim8 packages are used
1 parent 45a7512 commit ba3fe9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/polyglot.vim

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

0 commit comments

Comments
 (0)