Skip to content

Commit

Permalink
fix sync calls to delve in Neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
bhcleek committed Oct 14, 2018
1 parent b416148 commit 94977fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/go/debug.vim
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ function! s:call_jsonrpc(method, ...) abort
if has('nvim')
let state = {'done': 0}
function! state.on_data(ch, msg, event) abort
let self.resp = a:msg
let self.done = 1
let self.state.resp = a:msg
let self.state.done = 1
endfunction
let l:ch = sockconnect('tcp', go#config#DebugAddress(), {'on_data': state.on_data, 'state': state})
call chansend(l:ch, req_json)
Expand Down

0 comments on commit 94977fb

Please sign in to comment.