From e3609fed6b1c771f06c9c7e94df9096318dd65f6 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 24 Oct 2020 16:37:45 +0200 Subject: Fix disabling sensible settings, closes #602 --- plugin/polyglot.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin') 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 -- cgit v1.2.3