Skip to content

Commit ebf8cd2

Browse files
committed
feat(lang): add gofumpt as Go formatter via conform.nvim
1 parent 70fcd59 commit ebf8cd2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

lua/core/settings.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ settings["formatter_deps"] = {
127127
"clang-format",
128128
"cmakelang",
129129
"fixjson",
130+
"gofumpt",
130131
"mdsf",
131132
"prettierd",
132133
"shellharden",

lua/modules/configs/completion/conform.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ return function()
9696
cpp = { "clang-format" },
9797
cs = { "clang-format" },
9898
css = { "prettierd" },
99+
go = { "gofumpt" },
99100
cuda = { "clang-format" },
100101
graphql = { "prettierd" },
101102
html = { "prettierd" },

0 commit comments

Comments
 (0)