diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-15 20:43:55 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-15 20:43:55 +0100 |
commit | 11a50b25807d7730adb42575d72f990fb8c32a7b (patch) | |
tree | 90fc36f6278c7d1bad6d4b8d7034b2780c3700f3 /ale_linters/go | |
parent | fa3a4b3ba2903e735fd3bbd761bec9ee3ea45e2b (diff) | |
download | ale-11a50b25807d7730adb42575d72f990fb8c32a7b.zip |
Fix #553 - Filter out errors from other files for gometalinter
Diffstat (limited to 'ale_linters/go')
-rw-r--r-- | ale_linters/go/gometalinter.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/go/gometalinter.vim b/ale_linters/go/gometalinter.vim index aa524013..f47df6b9 100644 --- a/ale_linters/go/gometalinter.vim +++ b/ale_linters/go/gometalinter.vim @@ -22,7 +22,7 @@ function! ale_linters#go#gometalinter#Handler(buffer, lines) abort for l:match in ale_linters#go#gometalinter#GetMatches(a:lines) " Omit errors from files other than the one currently open - if ale#path#IsBufferPath(a:buffer, l:match[0]) + if !ale#path#IsBufferPath(a:buffer, l:match[1]) continue endif |