feat(nvim): add go configurations

This commit is contained in:
Yorick Barbanneau 2025-08-20 21:29:20 +02:00
parent a64c619cea
commit 5cf651c06c
Signed by: ephase
GPG key ID: 4447A19BBEDB8DBA
4 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,14 @@
return {
cmd = { "gopls" },
filetypes = { "go" },
root_markers = { "go.mod", ".git" },
settings = {
gopls = {
analyses = {
unusedparams = true,
},
staticcheck = true,
gofumpt = true,
},
},
}