fix gopls inlay hints

main
moonblade 2 years ago
parent cdef3e7ccd
commit 647c81dd42

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

Loading…
Cancel
Save