mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-10 23:29:14 +08:00
go build: skip not current buffer (#531)
* go build: skip not current buffer * fix gobuild_handler.vader
This commit is contained in:
1 parent
ab9afaa2bf
commit
bf0b2cfd84
2 files changed
+3
-3
No files matched your search
@@ -43,7 +43,7 @@ function! ale_linters#go#gobuild#Handler(buffer, lines) abort
|
||||
|
||||
for l:match in ale_linters#go#gobuild#GetMatches(a:lines)
|
||||
" Omit errors from imported go packages
|
||||
if ale#path#IsBufferPath(a:buffer, l:match[0])
|
||||
if !ale#path#IsBufferPath(a:buffer, l:match[1])
|
||||
continue
|
||||
endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user