Add working inlayhints for go
This commit is contained in:
parent
9384be6e3f
commit
e98ebae8ee
1 changed files with 12 additions and 0 deletions
12
home/.config/nvim/lua/language_servers/gopls.lua
Normal file
12
home/.config/nvim/lua/language_servers/gopls.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
return {
|
||||
merge_with_default = true,
|
||||
settings = {
|
||||
gopls = {
|
||||
["ui.inlayhints.hints"] = {
|
||||
compositeLiteralFields = true,
|
||||
constantValues = true,
|
||||
parameterNames = true
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue