From 108cda24bdab5b57bb73aff57ffb7b10667ad4c7 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Thu, 1 Aug 2024 17:05:38 -0400 Subject: [PATCH] vim: add go tools --- pkgs/bck-nvim-base/lua/5-lsp.lua | 5 +++++ pkgs/bck-nvim-tools.nix | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/pkgs/bck-nvim-base/lua/5-lsp.lua b/pkgs/bck-nvim-base/lua/5-lsp.lua index 576f439..3064171 100644 --- a/pkgs/bck-nvim-base/lua/5-lsp.lua +++ b/pkgs/bck-nvim-base/lua/5-lsp.lua @@ -16,6 +16,11 @@ lspconfig.lua_ls.setup({ } }) +---------------------------------------------------------------- +lspconfig.gopls.setup({ + capabilities = capabilities, +}) + ---------------------------------------------------------------- lspconfig.pyright.setup({ capabilities = capabilities, diff --git a/pkgs/bck-nvim-tools.nix b/pkgs/bck-nvim-tools.nix index e233fb7..f02d376 100644 --- a/pkgs/bck-nvim-tools.nix +++ b/pkgs/bck-nvim-tools.nix @@ -3,6 +3,9 @@ , black , efm-langserver +, errcheck +, go +, gopls , lua-language-server , nil , nodePackages @@ -23,6 +26,9 @@ symlinkJoin { paths = [ black efm-langserver + errcheck + go + gopls lua-language-server nil pyright