Add copilot chat and other nice things

This commit is contained in:
Fraser Fewster 2025-10-02 01:02:40 +01:00 committed by Fraser Fewster
parent bbda49daf5
commit ba8725e5fe
5 changed files with 34 additions and 2 deletions

View file

@ -0,0 +1,18 @@
return {
{
'CopilotC-Nvim/CopilotChat.nvim',
dependencies = {
{ 'nvim-lua/plenary.nvim', branch = 'master' },
},
build = 'make tiktoken',
init = function()
local map = vim.api.nvim_set_keymap
local opts = { noremap = true, silent = true }
map('n', '<leader>ch', '<Cmd>CopilotChatToggle<CR>', opts)
end,
opts = {
-- See Configuration section for options
},
},
}