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)
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,
},
}
}
},

Loading…
Cancel
Save