Skip to content

Commit 8312541

Browse files
committed
feat(lang): add goimports to Go formatter chain via conform.nvim
1 parent d4f6735 commit 8312541

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lua/core/settings.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ settings["formatter_deps"] = {
128128
"cmakelang",
129129
"fixjson",
130130
"gofumpt",
131+
"goimports",
131132
"mdsf",
132133
"prettierd",
133134
"shellharden",

lua/modules/configs/completion/conform.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ return function()
9696
cpp = { "clang-format" },
9797
cs = { "clang-format" },
9898
css = { "prettierd" },
99-
go = { "gofumpt" },
99+
go = { "goimports", "gofumpt" },
100100
cuda = { "clang-format" },
101101
graphql = { "prettierd" },
102102
html = { "prettierd" },

0 commit comments

Comments
 (0)