Skip to content

Commit

Permalink
bugfix for vim loadingstop and loadingstrat error
Browse files Browse the repository at this point in the history
  • Loading branch information
jayli committed Jan 10, 2024
1 parent ab62c1c commit a64a210
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions autoload/easycomplete/tabnine.vim
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,15 @@ function! easycomplete#tabnine#TypingType()
endfunction

function! easycomplete#tabnine#LoadingStart()
call s:tabnine_toolkit.loading_start()
if easycomplete#tabnine#ready()
call s:tabnine_toolkit.loading_start()
endif
endfunction

function! easycomplete#tabnine#LoadingStop()
call s:tabnine_toolkit.loading_stop()
if easycomplete#tabnine#ready()
call s:tabnine_toolkit.loading_stop()
endif
endfunction

function! easycomplete#tabnine#SuggestFlagCheck()
Expand All @@ -83,6 +87,9 @@ function! easycomplete#tabnine#SuggestFlagCheck()
endfunction

function! s:flush()
if easycomplete#tabnine#ready()
return
endif
if exists("s:tabnine_hint_snippet") && empty(s:tabnine_hint_snippet)
return
endif
Expand Down

0 comments on commit a64a210

Please sign in to comment.