sg.nvim icon indicating copy to clipboard operation
sg.nvim copied to clipboard

sg.nvim works with LunarVim

Open aultac opened this issue 10 months ago • 1 comments

I'm somewhat new to the neovim world, but after some work this morning I got cody working with Lunarvim. In case anyone else wants to do that, they need to put this in their ~/.config/lvim/config.lua file:

lvim.plugins = {
  {
    "sourcegraph/sg.nvim",
    dependencies = { "nvim-lua/plenary.nvim" },

    -- If you have a recent version of lazy.nvim, you don't need to add this!
    build = "nvim -l build/init.lua",
  },
}
require("sg").setup { }
-- Add cody to the list of sources
lvim.builtin.cmp.sources = {
  { name = "cody" },
  unpack(lvim.builtin.cmp.sources) -- Add the existing sources after the new one
}```

aultac avatar Mar 30 '24 12:03 aultac

Hey @aultac, thanks! Brought this to the attention of the team, trying to see if there's a good way to capture those config bits in the right place.

jhchabran avatar Apr 04 '24 12:04 jhchabran