From f4ffdcdd511a1e6093dcd9f42f364856a6c26109 Mon Sep 17 00:00:00 2001 From: jayli Date: Mon, 18 Dec 2023 10:55:27 +0800 Subject: [PATCH] bugfix for speed up --- autoload/easycomplete.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/easycomplete.vim b/autoload/easycomplete.vim index 1243057f..7ec7bc22 100644 --- a/autoload/easycomplete.vim +++ b/autoload/easycomplete.vim @@ -296,7 +296,8 @@ function! s:SecondCompleteRendering(start_pos, result) if g:env_is_iterm call s:StopAsyncRun() if len(g:easycomplete_stunt_menuitems) < 40 - call s:AsyncRun(function('s:complete'), [a:start_pos, a:result], 5) + call s:AsyncRun(function('easycomplete#_complete'), [a:start_pos, a:result], 5) + " call s:AsyncRun(function('s:complete'), [a:start_pos, a:result], 5) else call s:AsyncRun(function('easycomplete#_complete'), [a:start_pos, a:result], 5) endif