Skip to content

Commit c742892

Browse files
mattnprabirshrestha
authored andcommitted
Return v:null to suppress warning (#239)
1 parent 6894fb9 commit c742892

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autoload/lsp/omni.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ function! lsp#omni#complete(findstart, base) abort
5757
call s:send_completion_request(l:info)
5858

5959
if g:lsp_async_completion
60-
return []
60+
redraw
61+
return v:none
6162
else
6263
while s:completion['status'] is# s:completion_status_pending && !complete_check()
6364
sleep 10m

0 commit comments

Comments
 (0)