From b97d2aafbed59b6fa3e9850212f8af5a114cd78c Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Fri, 10 Nov 2023 11:25:19 -0800 Subject: [PATCH] Lazy load sg and disable cody --- neovim/lua/plugins.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/neovim/lua/plugins.lua b/neovim/lua/plugins.lua index 477f036..adaf045 100644 --- a/neovim/lua/plugins.lua +++ b/neovim/lua/plugins.lua @@ -551,6 +551,20 @@ use({ requires = { "https://github.com/nvim-lua/plenary.nvim", }, + config = function() + require("sg").setup({ + enable_cody = false, + on_attach = function() end, + }) + end, + cmd = { + "SourcegraphBuild", + "SourcegraphDownloadBinaries", + "SourcegraphInfo", + "SourcegraphLink", + "SourcegraphLogin", + "SourcegraphSearch", + }, }) -- Auto sync after bootstrapping on a fresh box