Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug: clear godebugcurline when control is returned to delve #2984

Merged
merged 1 commit into from
Aug 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions autoload/go/debug.vim
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ function! s:call_jsonrpc(handle_result, method, ...) abort
\ 'request': l:req_json,
\ })
endif

redraw
catch
throw substitute(v:exception, '^Vim', '', '')
endtry
Expand Down Expand Up @@ -1137,6 +1139,7 @@ function! go#debug#Stack(name) abort
endif
let s:stack_name = l:name
try
silent! sign unplace 9999
call s:call_jsonrpc(function('s:handle_stack_response', [l:name]), 'RPCServer.Command', {'name': l:name})
catch
call go#util#EchoError(printf('rpc failure: %s', v:exception))
Expand Down