Set usePlaceholders to match Go default (#37551)

Closes #33629

Release Notes:

- changed gopls default to match what Go specifies
https://github.com/golang/tools/blob/master/gopls/doc/settings.md#useplaceholders-bool
This commit is contained in:
Mitch (a.k.a Voz)
2025-09-09 13:32:45 -06:00
committed by GitHub
parent 0862a0b666
commit 414d3be437
+1 -1
View File
@@ -204,7 +204,7 @@ impl super::LspAdapter for GoLspAdapter {
_: &Arc<dyn LspAdapterDelegate>,
) -> Result<Option<serde_json::Value>> {
Ok(Some(json!({
"usePlaceholders": true,
"usePlaceholders": false,
"hints": {
"assignVariableTypes": true,
"compositeLiteralFields": true,