We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d06d23e commit 2f8c4fdCopy full SHA for 2f8c4fd
init.lua
@@ -614,6 +614,7 @@ require('lazy').setup({
614
end,
615
formatters_by_ft = {
616
lua = { 'stylua' },
617
+ go = { 'golines' },
618
-- Conform can also run multiple formatters sequentially
619
-- python = { "isort", "black" },
620
--
@@ -865,5 +866,8 @@ require('lazy').setup({
865
866
},
867
})
868
869
+require('conform').formatters.golines = {
870
+ prepend_args = { '-w -m 128 --no-reformat-tags' },
871
+}
872
-- The line beneath this is called `modeline`. See `:help modeline`
873
-- vim: ts=2 sts=2 sw=2 et
0 commit comments