From 88ffdb47368c7bbfd72e643861f5f5a4663c1fb9 Mon Sep 17 00:00:00 2001 From: tyru Date: Thu, 16 Aug 2018 11:02:51 +0900 Subject: feat: add ale_go_govet_options variable --- ale_linters/go/govet.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ale_linters/go') diff --git a/ale_linters/go/govet.vim b/ale_linters/go/govet.vim index e94e6ecd..59fea499 100644 --- a/ale_linters/go/govet.vim +++ b/ale_linters/go/govet.vim @@ -4,8 +4,12 @@ " Author: John Eikenberry " Description: updated to work with go1.10 +call ale#Set('go_govet_options', '') + function! ale_linters#go#govet#GetCommand(buffer) abort + let l:options = ale#Var(a:buffer, 'go_govet_options') return ale#path#BufferCdString(a:buffer) . ' go vet .' + \ . (!empty(l:options) ? ' ' . l:options : '') endfunction call ale#linter#Define('go', { -- cgit v1.2.3