diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2021-01-01 22:30:41 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-01-01 22:30:41 +0100 |
commit | 05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3 (patch) | |
tree | c01457f2798bbbeaf313ac343315aec5a2aa3859 /plugin | |
parent | f3b646fd6f6070072d9b4ec958815b74a8a333f2 (diff) | |
download | vim-polyglot-05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3.tar.gz vim-polyglot-05b8bbc938bdeac4a5ee2d3ae5cf7a7f05e822d3.zip |
Fix loading for vim 8 packages, closes #613
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/polyglot.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/polyglot.vim b/plugin/polyglot.vim index bfd9c1a0..50060973 100644 --- a/plugin/polyglot.vim +++ b/plugin/polyglot.vim @@ -1,3 +1,5 @@ +call polyglot#init#init() + " Turn on filetype plugins (:help filetype-plugin). if has('autocmd') && !(exists("did_load_filetypes") && exists("did_indent_on")) filetype plugin indent on @@ -17,7 +19,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 !has_key(g:polyglot_is_disabled, 'sensible') " Allow backspace in insert mode. if &backspace == "" set backspace=indent,eol,start |