summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-25 03:19:58 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-25 03:19:58 +0100
commitcbde2571d4f79770ac552fe75440de72893bc73a (patch)
treec6bf43ecbf9ed76071713dc4cba028d32695987a /plugin
parentd73c4d156279bfbc2ea9fafcbacca5fc2bd6cfd1 (diff)
downloadvim-polyglot-cbde2571d4f79770ac552fe75440de72893bc73a.tar.gz
vim-polyglot-cbde2571d4f79770ac552fe75440de72893bc73a.zip
Respect symlinks for resolving vim-polyglot as fallback, closes #605
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 bfd9c1a0..ac828475 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') == -1
+if polyglot#util#IsEnabled('sensible', 'ftdetect')
" Allow backspace in insert mode.
if &backspace == ""
set backspace=indent,eol,start