pass server_name as part of next notification in lsp#request (#1064)

This commit is contained in:
Prabir Shrestha
2021-02-01 20:10:04 -08:00
committed by GitHub
parent 0c77beb2eb
commit 21a29936ed

View File

@@ -1025,7 +1025,7 @@ endfunction
function! s:request_on_notification(ctx, id, data, event) abort
if a:ctx['cancelled'] | return | endif " caller already unsubscribed so don't bother notifying
let a:ctx['done'] = 1
call a:ctx['next'](a:data)
call a:ctx['next'](extend({ 'server_name': a:ctx['server_name'] }, a:data))
call a:ctx['complete']()
endfunction