summaryrefslogtreecommitdiff
path: root/ale_linters/go
diff options
context:
space:
mode:
authorAlexandr <k33nice@gmail.com>2017-05-06 12:08:34 +0300
committerw0rp <w0rp@users.noreply.github.com>2017-05-06 10:08:34 +0100
commitbf0b2cfd8417b9b9eeb13bd8e4b7c551320e0086 (patch)
tree2169294f6d2edbd65e668561e613319d9850595d /ale_linters/go
parentab9afaa2bf446ed9db32f5ab43081e7f28cc1358 (diff)
downloadale-bf0b2cfd8417b9b9eeb13bd8e4b7c551320e0086.zip
go build: skip not current buffer (#531)
* go build: skip not current buffer * fix gobuild_handler.vader
Diffstat (limited to 'ale_linters/go')
-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