How to enable CopilotChat plugin? #1149
-
|
Hi, I'm trying to enable CopilotC-CopilotChat plugin using below config, my full config is on my repo. I use multiple machines and I want my neovim config to become reproducible. Problem:When I clone my repo and run
After authentication I get this error message:
startPlugins = [
pkgs.vimPlugins.CopilotChat-nvim
pkgs.vimPlugins.plenary-nvim
];
luaConfigRC.myconfig =
# entryAnywhere
/*
lua
*/
''
require("CopilotChat").setup {
-- Your CopilotChat configuration here
window = {
-- layout = "float",
-- border = "rounded",
title = "🤖 AI Assistant",
zindex = 100, -- Ensure window stays on top
},
headers = {
user = "👤 You: ",
assistant = "🤖 Copilot: ",
tool = "🔧 Tool: ",
},
separator = "━━",
show_folds = false, -- Disable folding for cleaner look
}
-- Set up keymaps for CopilotChat
-- vim.keymap.set("n", "<leader>cc", "<cmd>CopilotChat<CR>", { desc = "Open CopilotChat" })
'';am I doing something wrong? In my nixos config I get the same message but the plugin works, IDK why. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
seems like try updating nixpkgs, if that doesn't work, you can try building from the main branch with whichever method you prefer |
Beta Was this translation helpful? Give feedback.


seems like
https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/1388nixpkgs is probably a bit outdatedtry updating nixpkgs, if that doesn't work, you can try building from the main branch with whichever method you prefer