summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-24 16:37:45 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-24 16:37:45 +0200
commite3609fed6b1c771f06c9c7e94df9096318dd65f6 (patch)
treef6439cc99ea03265c0650debdc3e1204c98c42c4
parent73245289847c4e806e9bc20b7382f2a46eb9337c (diff)
downloadvim-polyglot-e3609fed6b1c771f06c9c7e94df9096318dd65f6.tar.gz
vim-polyglot-e3609fed6b1c771f06c9c7e94df9096318dd65f6.zip
Fix disabling sensible settings, closes #602
-rw-r--r--plugin/polyglot.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/polyglot.vim b/plugin/polyglot.vim
index f23df6bf..d4a60b29 100644
--- a/plugin/polyglot.vim
+++ b/plugin/polyglot.vim
@@ -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