Skip to content

Commit

Permalink
Merge pull request #3675 from gremat/fix/stop-double-remote-path-subs…
Browse files Browse the repository at this point in the history
…titution-in-goto-file-from-stacktrace-window

debug: fix double substitution for paths in goto_file from stacktrace window
  • Loading branch information
bhcleek authored Aug 18, 2024
2 parents ced525d + bc93992 commit d3216cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/go/debug.vim
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function! s:goto_file() abort
return
endif
call win_gotoid(win_getid(bufs[0][0]))
let filename = s:substituteLocalPath(m[1])
let filename = m[1]
let linenr = m[2]
let oldfile = fnamemodify(expand('%'), ':p:gs!\\!/!')
if oldfile != filename
Expand Down

0 comments on commit d3216cd

Please sign in to comment.