mirror of
https://github.com/marianozunino/nvim.git
synced 2025-06-28 18:43:50 -03:00
batman!
This commit is contained in:
commit
ae7d9bf4b6
63 changed files with 2160 additions and 0 deletions
15
lua/config/lsp/gopls.lua
Normal file
15
lua/config/lsp/gopls.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
settings = {
|
||||
gopls = {
|
||||
gofumpt = true, -- https://github.com/mvdan/gofumpt a stricter gofmt
|
||||
completeUnimported = true,
|
||||
usePlaceholders = true,
|
||||
analyses = {
|
||||
unusedparams = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
flags = {
|
||||
debounce_text_changes = 150, -- https://github.com/golang/tools/blob/master/gopls/doc/settings.md#change-detection
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue