summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-25 20:33:44 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-25 20:33:44 +0100
commit45a7512dea0599efaf96e8a2cad3fac7be61cf5d (patch)
treebe0f50b1fe89625021111ad0d34555ef141d4146 /plugin
parent81ada1101ecbb0bc6dbaeef42e997e62129b36cc (diff)
downloadvim-polyglot-45a7512dea0599efaf96e8a2cad3fac7be61cf5d.tar.gz
vim-polyglot-45a7512dea0599efaf96e8a2cad3fac7be61cf5d.zip
Preserve loading order of plugins, fixes #608
Diffstat (limited to 'plugin')
-rw-r--r--plugin/polyglot.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/polyglot.vim b/plugin/polyglot.vim
index ac828475..c0639057 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 polyglot#util#IsEnabled('sensible', 'ftdetect')
+if !has_key(g:polyglot_is_disabled, 'sensible')
" Allow backspace in insert mode.
if &backspace == ""
set backspace=indent,eol,start