From b0fac4706057f5db396695e0ea62674b43ecb749 Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Thu, 7 Mar 2019 13:39:36 +0100 Subject: make `gotype` return all errors When using `gotype` without the `-e` option, it will only output the first 10 errors. When working on a larger package that ofter means taht those 10 errors are in other files then the one that you are currently working on which then seems to indicate that there are no errors. By adding the `-e` flag, all errors will be returned and shown properly in the file that you are working on. --- ale_linters/go/gotype.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters') diff --git a/ale_linters/go/gotype.vim b/ale_linters/go/gotype.vim index 159df892..d5d563aa 100644 --- a/ale_linters/go/gotype.vim +++ b/ale_linters/go/gotype.vim @@ -6,7 +6,7 @@ function! ale_linters#go#gotype#GetCommand(buffer) abort return '' endif - return ale#path#BufferCdString(a:buffer) . ' gotype .' + return ale#path#BufferCdString(a:buffer) . ' gotype -e .' endfunction call ale#linter#Define('go', { -- cgit v1.2.3