From 7e6751344207c3be8b28da428c88ba2b347b0069 Mon Sep 17 00:00:00 2001 From: Shivanth Date: Thu, 19 Sep 2024 22:55:45 +0200 Subject: [PATCH] Add golangci linter to go pack --- lua/astrocommunity/pack/go/init.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lua/astrocommunity/pack/go/init.lua b/lua/astrocommunity/pack/go/init.lua index bedd7aeb0..1a9b737a9 100644 --- a/lua/astrocommunity/pack/go/init.lua +++ b/lua/astrocommunity/pack/go/init.lua @@ -155,4 +155,13 @@ return { }, }, }, + { + "mfussenegger/nvim-lint", + optional = true, + opts = { + linters_by_ft = { + go = { "golangcilint" }, + }, + }, + }, }