mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix: add gofumpt formatter using conform/none-ls
This commit is contained in:
parent
b875bfc5b5
commit
d74656a039
1 changed files with 2 additions and 1 deletions
|
|
@ -105,6 +105,7 @@ return {
|
||||||
nls.builtins.code_actions.gomodifytags,
|
nls.builtins.code_actions.gomodifytags,
|
||||||
nls.builtins.code_actions.impl,
|
nls.builtins.code_actions.impl,
|
||||||
nls.builtins.formatting.goimports,
|
nls.builtins.formatting.goimports,
|
||||||
|
nls.builtins.formatting.gofumpt,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
@ -113,7 +114,7 @@ return {
|
||||||
optional = true,
|
optional = true,
|
||||||
opts = {
|
opts = {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
go = { "goimports" },
|
go = { "goimports", "gofumpt" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue