-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Error sign not appearing in Go buffers #2983
Comments
I believe the issue is here: https://github.com/dense-analysis/ale/blob/master/autoload/ale/handlers/go.vim#L11 The pattern for this can be tested at https://regex101.com with the example line:
The first match designed to match the "vet: " portion of it is not valid because it'll only match one character. This should have been caught by tests. I'll need to look into it some more. |
I have published a fixed pattern on regex101 here: https://regex101.com/r/FgpyRP/1 |
I had the same issue, switching to |
Good tip, thanks @megapctr! For anyone else who wants to do this add the following to
|
@megapctr, @surminus, do you have more context on |
If you check the
So should work out the box! |
…and it says that right in the |
This should be fixed with #3191 |
Information
VIM version
NVIM v0.4.2
Build type: Release
Operating System: macOS Catalina 10.15.2
What went wrong
When I edit a Go file, ALE runs
go vet
and finds errors but does not display them in the buffer.Reproducing the bug
init.vim
:(and with this loaded, run
:call minpac#update()
, then quit and reopen Neovim for good measure; I doubt the specific package manager is the issue though)go vet
(which ALE runs), but no flag appears in the gutter.:ALEInfo
The text was updated successfully, but these errors were encountered: