mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
nvim: go: update settings for gopls
This commit is contained in:
parent
a7538c250d
commit
a56f3652b5
1 changed files with 5 additions and 6 deletions
|
|
@ -7,11 +7,10 @@ local lspservers = {
|
|||
gopls = {
|
||||
analyses = {
|
||||
unusedvariable = true,
|
||||
unusedwrite = true,
|
||||
useany = true,
|
||||
},
|
||||
gofumpt = true,
|
||||
hoverKind = 'SynopsisDocumentation',
|
||||
staticcheck = true,
|
||||
codelenses = {
|
||||
gc_details = false,
|
||||
generate = true,
|
||||
|
|
@ -22,11 +21,11 @@ local lspservers = {
|
|||
upgrade_dependency = true,
|
||||
vendor = true,
|
||||
},
|
||||
hints = {
|
||||
parameterNames = true
|
||||
},
|
||||
-- hints = {
|
||||
-- parameterNames = true
|
||||
-- },
|
||||
completeUnimported = true,
|
||||
semanticTokens = true
|
||||
-- semanticTokens = true
|
||||
},
|
||||
},
|
||||
on_save = function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue