sebdah / vim-delve

Neovim / Vim integration for Delve
MIT License
502 stars 24 forks source link

Override project root for breakpoints/tracepoints #39

Closed slax0rr closed 4 years ago

slax0rr commented 4 years ago

If the Go executable was built in a different file path than where you are editing the files, then setting breakpoints and/or tracepoints will set the filepath of the file where you have it opened, since delve doesn't know the location that the plugin is transmitting when using DlvConnect. With this commit you are able to set the project root path that vim-delve will use when transmitting info to delve about breakpoints and/or tracepoints.

Fixes #37