feat: add ale_go_govet_options variable

This commit is contained in:
tyru
2018-08-16 11:02:51 +09:00
parent 9cdd8b67b2
commit 88ffdb4736
4 changed files with 20 additions and 0 deletions

View File

@@ -6,3 +6,7 @@ After:
Execute(The default command should be correct):
AssertLinter 'go', 'cd ' . ale#Escape(expand('%:p:h')) . ' && go vet .'
Execute(Extra options should be supported):
let g:ale_go_govet_options = '--foo-bar'
AssertLinter 'go', 'cd ' . ale#Escape(expand('%:p:h')) . ' && go vet . --foo-bar'