Skip to content

Commit

Permalink
Fix disabling sensible settings, closes #602
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Oct 24, 2020
1 parent 7324528 commit e3609fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/polyglot.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e3609fe

Please sign in to comment.