Fix disabling sensible settings, closes #602

This commit is contained in:
Adam Stankiewicz
2020-10-24 16:37:45 +02:00
parent 7324528984
commit e3609fed6b

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 !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sensible')
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sensible') == -1
" Autoindent when starting new line, or using `o` or `O`.
set autoindent