diff --git a/gopls/internal/hooks/analysis.go b/gopls/internal/hooks/analysis.go index 0549b4f19d..629bdc8669 100644 --- a/gopls/internal/hooks/analysis.go +++ b/gopls/internal/hooks/analysis.go @@ -17,6 +17,10 @@ func updateAnalyzers(options *source.Options) { options.Analyzers[a.Name] = a } for _, a := range staticcheck.Analyzers { + // This check conflicts with the vet printf check (golang/go#34494). + if a.Name == "SA5009" { + continue + } options.Analyzers[a.Name] = a } for _, a := range stylecheck.Analyzers {