Skip to content

Commit

Permalink
chore(nvim): improve gopls
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Oct 28, 2023
1 parent f22e4b4 commit df338cf
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions data/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,17 @@ require("lazy").setup({
settings = {
gopls = {
gofumpt = true,
codelenses = {
gc_details = true,
},
semanticTokens = true,
usePlaceholders = true,
analyses = {
deprecated = false,
fieldalignment = true,
nilness = true,
unusedparams = true,
unusedwrite = true,
useany = true,
unusedvariable = true,
},
},
},
})
Expand Down

0 comments on commit df338cf

Please sign in to comment.