summaryrefslogtreecommitdiff
path: root/ale_linters/go/staticcheck.vim
diff options
context:
space:
mode:
authorYuxuan 'fishy' Wang <fishywang@gmail.com>2021-07-03 02:40:01 -0700
committerGitHub <noreply@github.com>2021-07-03 18:40:01 +0900
commitb749ec702af29fb4d8a550c585704b3b351134d9 (patch)
tree2b0b35065b7c696d8364224bd6b67afd0862e9ef /ale_linters/go/staticcheck.vim
parent49bdbc3ba5c157c0bef9ee8553f232f073479bb8 (diff)
downloadale-b749ec702af29fb4d8a550c585704b3b351134d9.zip
Change default of go_staticcheck_lint_package to 1 (#3799)
Fixes https://github.com/dense-analysis/ale/issues/3798.
Diffstat (limited to 'ale_linters/go/staticcheck.vim')
-rw-r--r--ale_linters/go/staticcheck.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/go/staticcheck.vim b/ale_linters/go/staticcheck.vim
index 5dc88f1a..36622440 100644
--- a/ale_linters/go/staticcheck.vim
+++ b/ale_linters/go/staticcheck.vim
@@ -3,7 +3,7 @@
call ale#Set('go_staticcheck_executable', 'staticcheck')
call ale#Set('go_staticcheck_options', '')
-call ale#Set('go_staticcheck_lint_package', 0)
+call ale#Set('go_staticcheck_lint_package', 1)
call ale#Set('go_staticcheck_use_global', get(g:, 'ale_use_global_executables', 0))
function! ale_linters#go#staticcheck#GetCommand(buffer) abort