Refactor LSP config into separate modules

This commit is contained in:
Fabian Becker
2025-09-26 16:07:46 +02:00
parent bb9e97a6ba
commit cb7e7a5ea4
9 changed files with 88 additions and 120 deletions

View File

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