Skip to content

Commit

Permalink
Merge pull request #2023 from bhcleek/fix-neovim-debug-sync-calls
Browse files Browse the repository at this point in the history
Fix neovim debug sync calls
  • Loading branch information
bhcleek authored Oct 14, 2018
2 parents b416148 + 8d2a924 commit 23f9496
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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 Expand Up @@ -298,7 +298,7 @@ function! go#debug#Stop() abort
silent! exe bufwinnr(bufnr('__GODEBUG_VARIABLES__')) 'wincmd c'
silent! exe bufwinnr(bufnr('__GODEBUG_OUTPUT__')) 'wincmd c'

if !has('balloon_eval')
if has('balloon_eval')
set noballooneval
set balloonexpr=
endif
Expand Down

0 comments on commit 23f9496

Please sign in to comment.