From b49700ef49525f09381718b945afae653dec3c01 Mon Sep 17 00:00:00 2001 From: Wang Shidong Date: Sat, 13 Apr 2019 13:29:14 +0800 Subject: [PATCH] Fix completor delay (#2742) * Fix completor delay close #2609 --- autoload/SpaceVim/layers/lang/vim.vim | 4 ++++ config/plugins/completor.vim | 1 + 2 files changed, 5 insertions(+) create mode 100644 config/plugins/completor.vim diff --git a/autoload/SpaceVim/layers/lang/vim.vim b/autoload/SpaceVim/layers/lang/vim.vim index 7263b9b5f..22436d1f6 100644 --- a/autoload/SpaceVim/layers/lang/vim.vim +++ b/autoload/SpaceVim/layers/lang/vim.vim @@ -26,6 +26,10 @@ function! SpaceVim#layers#lang#vim#plugins() abort \ }]) elseif g:spacevim_autocomplete_method ==# 'coc' call add(plugins, ['neoclide/coc-neco', {'merged' : 0}]) + elseif g:spacevim_autocomplete_method ==# 'completor' + " call add(plugins, ['kyouryuukunn/completor-necovim', {'merged' : 0}]) + " This plugin has bug in neovim-qt win 7 + " https://github.com/maralla/completor.vim/issues/250 endif call add(plugins,['tweekmonster/helpful.vim', {'on_cmd': 'HelpfulVersion'}]) return plugins diff --git a/config/plugins/completor.vim b/config/plugins/completor.vim new file mode 100644 index 000000000..93a7b34ee --- /dev/null +++ b/config/plugins/completor.vim @@ -0,0 +1 @@ +let g:completor_completion_delay = g:_spacevim_autocomplete_delay