Skip to content

GoVet can not jump to err place with go1.13 #2484

@lxstorm

Description

@lxstorm

What did you do? (required: The issue will be closed when not provided)

use :GoVet
enter on the error line below

I think this error may correspond to the change of the output which go vet produce
in before version: go vet will output err message like ./xxx.go:12:2: err msg,
in 1.13 go the go vet produce vet: /xxx.go:12:2: err msg
so when enter on error line it will jump to a "vet: ./xxx.go" place which is invalid

What did you expect to happen?

Jump to the go syntax error line

What happened instead?

showing error message

Error detected while processing BufEnter Auto commands for "*":
E344: Can't find directory "vet: ." in cdpath

Configuration (MUST fill this out):

Go 1.13

vim-go version:

vimrc you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):

vimrc

Vim version (first three lines from :version):

master

Go version (go version):

1.13

Go environment

go env Output:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions