From 22856c31a459515de82080a896caf9e84b1313e3 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 28 May 2024 12:11:54 +0100 Subject: [PATCH] helix: added golangci-lint-langserver in addition to gopls as langserver for go --- roles/home/helix.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/home/helix.nix b/roles/home/helix.nix index 0b7ffd5..65787b8 100644 --- a/roles/home/helix.nix +++ b/roles/home/helix.nix @@ -29,7 +29,8 @@ in shellcheck shfmt gopls - aichat + golangci-lint + golangci-lint-langserver ] ++ nodePkgs; sessionVariables = { @@ -66,6 +67,10 @@ in [[language]] name = "nix" formatter = { command = "nixpkgs-fmt" } + + [[language]] + name = "go" + language-servers = ["gopls", "golangci-lint-langserver"] ''; }; };