From e0ba37393b1d58408c7a00d69dc915187420f53f Mon Sep 17 00:00:00 2001 From: cherrot Date: Wed, 13 Sep 2023 14:34:58 +0800 Subject: [PATCH 1/2] feat(completion): use gofumpt to format Go code, run goimports on save --- lua/core/settings.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/core/settings.lua b/lua/core/settings.lua index bb4901ca8..16cded519 100644 --- a/lua/core/settings.lua +++ b/lua/core/settings.lua @@ -111,6 +111,8 @@ settings["null_ls_deps"] = { "shfmt", "stylua", "vint", + "goimports", + "gofumpt", } -- Set the Debug Adapter Protocol (DAP) clients that will be installed and configured during bootstrap here. From 42612a035f6f3f11927b70221eca57bedcf77898 Mon Sep 17 00:00:00 2001 From: Jint-lzxy <50296129+Jint-lzxy@users.noreply.github.com> Date: Sun, 17 Sep 2023 13:54:25 +0800 Subject: [PATCH 2/2] chore(deps): sort null_ls deps --- lua/core/settings.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/core/settings.lua b/lua/core/settings.lua index 16cded519..53b143775 100644 --- a/lua/core/settings.lua +++ b/lua/core/settings.lua @@ -107,12 +107,12 @@ settings["lsp_deps"] = { ---@type string[] settings["null_ls_deps"] = { "clang_format", + "gofumpt", + "goimports", "prettier", "shfmt", "stylua", "vint", - "goimports", - "gofumpt", } -- Set the Debug Adapter Protocol (DAP) clients that will be installed and configured during bootstrap here.