mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
pass server_name as part of next notification in lsp#request (#1064)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user