|
|
|
@ -149,15 +149,17 @@ local config = {
|
|
|
|
|
-- set global default on lspconfig (see lspconfig doc)
|
|
|
|
|
gopls = {
|
|
|
|
|
settings = {
|
|
|
|
|
hints = {
|
|
|
|
|
assignVariableTypes = true,
|
|
|
|
|
compositeLiteralFields = true,
|
|
|
|
|
compositeLiteralTypes = true,
|
|
|
|
|
constantValues = true,
|
|
|
|
|
functionTypeParameters = true,
|
|
|
|
|
parameterNames = true,
|
|
|
|
|
rangeVariableTypes = true,
|
|
|
|
|
},
|
|
|
|
|
gopls = {
|
|
|
|
|
hints = {
|
|
|
|
|
assignVariableTypes = true,
|
|
|
|
|
compositeLiteralFields = true,
|
|
|
|
|
compositeLiteralTypes = true,
|
|
|
|
|
constantValues = true,
|
|
|
|
|
functionTypeParameters = true,
|
|
|
|
|
parameterNames = true,
|
|
|
|
|
rangeVariableTypes = true,
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|