fix sending notification

This commit is contained in:
tsukkee
2025-07-02 22:10:14 +09:00
committed by mattn
parent 90eb2a359d
commit d43149ca4d

View File

@@ -14,10 +14,13 @@ augroup END
function s:on_tsserver_request(id, data) abort
let body = a:data['response']['result']['body']
call lsp#notification('volar-server', {
\ 'method': 'tsserver/response',
\ 'params': [a:id, body]
\ })
call lsp#callbag#pipe(
\ lsp#notification('volar-server', {
\ 'method': 'tsserver/response',
\ 'params': [[a:id, body]]
\ }),
\ lsp#callbag#subscribe()
\ )
endfunction
function s:on_notification(server_name, data) abort