From cbde2571d4f79770ac552fe75440de72893bc73a Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 25 Oct 2020 03:19:58 +0100 Subject: Respect symlinks for resolving vim-polyglot as fallback, closes #605 --- 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 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 -- cgit v1.2.3