diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-08-16 14:10:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-16 14:10:21 +0100 |
commit | faaa11567a487c4d9752df24eadf00d314da5d2a (patch) | |
tree | 6edca488a5c4952ce36f78ad3b01f7963c8c1e67 /ale_linters/go | |
parent | 9cdd8b67b2f52a2dd348ffb13a7fc1b2dcf84416 (diff) | |
parent | 88ffdb47368c7bbfd72e643861f5f5a4663c1fb9 (diff) | |
download | ale-faaa11567a487c4d9752df24eadf00d314da5d2a.zip |
Merge pull request #1818 from tyru/add-go-govet-options
Add ale_go_govet_options variable
Diffstat (limited to 'ale_linters/go')
-rw-r--r-- | ale_linters/go/govet.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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 <jae@zhar.net> " 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', { |