diff options
| author | schererleander <leander@schererleander.de> | 2025-08-02 12:27:54 +0200 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2025-08-02 12:34:47 +0200 |
| commit | bc6de2ca97aafa735fb2f2d4921bfceda80bf4f8 (patch) | |
| tree | 4cf873e3f33425431f534bab1957ad786921c0b3 /modules | |
| parent | eea593d960f5b82bcb14282822e99986c89c250b (diff) | |
feat: add copilot-cmp
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/home-manager/neovim/init.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/home-manager/neovim/init.lua b/modules/home-manager/neovim/init.lua index 3854909..7d0d918 100644 --- a/modules/home-manager/neovim/init.lua +++ b/modules/home-manager/neovim/init.lua @@ -27,6 +27,7 @@ vim.pack.add({ { src = "https://github.com/lewis6991/gitsigns.nvim" }, { src = "https://github.com/windwp/nvim-autopairs" }, { src = "https://github.com/zbirenbaum/copilot.lua" }, + { src = "https://github.com/zbirenbaum/copilot-cmp" }, { src = "https://github.com/nvim-telescope/telescope.nvim" }, { src = "https://github.com/j-hui/fidget.nvim" }, { src = "https://github.com/nvim-lua/plenary.nvim" }, @@ -86,6 +87,7 @@ cmp.setup({ end, { 'i', 's' }), }), sources = cmp.config.sources({ + { name = 'copilot' }, { name = 'nvim_lsp' }, { name = 'luasnip' }, }, { @@ -194,7 +196,11 @@ require("mini.starter").setup({ require("gitsigns").setup() require("nvim-autopairs").setup() require("fidget").setup() -require("copilot").setup() +require("copilot").setup({ + suggestion = { enabled = false }, + panel = { enabled = false }, +}) +require("copilot_cmp").setup() vim.cmd("colorscheme gruvbox") |
