From 2c1bcc647602313ecc50f553967e0d750290f9f1 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Sun, 5 Mar 2023 10:46:32 -0800 Subject: [PATCH] updates --- lua/lsp_settings.lua | 10 ++++++++++ lua/plugins.lua | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lua/lsp_settings.lua b/lua/lsp_settings.lua index bbbaf28..5880314 100644 --- a/lua/lsp_settings.lua +++ b/lua/lsp_settings.lua @@ -60,5 +60,15 @@ require('mason-lspconfig').setup_handlers { }, } } + require("lspconfig")['gopls'].setup { + on_attach = on_attach, + flags = lsp_flags, + capabilities = capabilities, + settings = { + gopls = { + gofumpt = true + } + } + } end } diff --git a/lua/plugins.lua b/lua/plugins.lua index b673805..a602e0f 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -80,7 +80,7 @@ return { 'windwp/nvim-autopairs', config = function() require('nvim-autopairs').setup {} - end + end, }, -- https://github.com/lewis6991/gitsigns.nvim