From 02e7ccf9654656b61c9f21c83f542f0f4d32bde4 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Sun, 9 Nov 2025 12:37:00 -0300 Subject: [PATCH] feat(lsp): golangci-lint lsp check installation --- lua/dot013/plugins/lsp.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lua/dot013/plugins/lsp.lua b/lua/dot013/plugins/lsp.lua index c7d98cf..ca30b21 100644 --- a/lua/dot013/plugins/lsp.lua +++ b/lua/dot013/plugins/lsp.lua @@ -37,7 +37,13 @@ local lsps = { }, }, ["gopls"] = {}, - ["golangci_lint_ls"] = {}, + ["golangci_lint_ls"] = function() + if vim.fn.executable("golangci-list") == 1 then + return {} + else + return nil + end + end, ["html"] = {}, -- ["htmx"] = {}, # BORKED: blink.cmp stops working whtn htmx-lsp is attached https://github.com/Saghen/blink.cmp/issues/825 ["jsonls"] = {},