summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/go/gobuild.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/go/gobuild.vim b/ale_linters/go/gobuild.vim
index 62687534..143c2fd0 100644
--- a/ale_linters/go/gobuild.vim
+++ b/ale_linters/go/gobuild.vim
@@ -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