We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3192696 + 0d1e8c9 commit 541b867Copy full SHA for 541b867
autoload/go/tool.vim
@@ -49,7 +49,7 @@ function! go#tool#ShowErrors(out)
49
if !empty(fatalerrors)
50
call add(errors, {"text": fatalerrors[1]})
51
elseif !empty(tokens)
52
- call add(errors, {"filename" : expand("%:p:h:") . "/" . tokens[1],
+ call add(errors, {"filename" : fnamemodify(tokens[1], ':p'),
53
\"lnum": tokens[2],
54
\"text": tokens[3]})
55
elseif !empty(errors)
0 commit comments