diff --git a/nvim/lua/plugins/config/lsp.lua b/nvim/lua/plugins/config/lsp.lua index 1efc4de..a267b8d 100644 --- a/nvim/lua/plugins/config/lsp.lua +++ b/nvim/lua/plugins/config/lsp.lua @@ -48,6 +48,9 @@ lspconfig.gopls.setup{ analyses = { unusedparams = true, }, + env = { + GOFLAGS = "-tags=mage" + }, gofumpt = true, staticcheck = true, },