Lazy load sg and disable cody

This commit is contained in:
ViViDboarder 2023-11-10 11:25:19 -08:00
parent cc7d7820b9
commit b97d2aafbe

View File

@ -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