removed Copilot

This commit is contained in:
Jannik Donker
2025-02-20 20:20:59 +01:00
parent 5be7301e24
commit 8b199cd837
4 changed files with 50 additions and 50 deletions
+29 -29
View File
@@ -1,31 +1,31 @@
return {
{
"CopilotC-Nvim/CopilotChat.nvim",
branch = "canary",
dependencies = {
{ "github/copilot.vim" }, -- or github/copilot.vim
{ "nvim-lua/plenary.nvim" }, -- for curl, log wrapper
},
build = "make tiktoken", -- Only on MacOS or Linux
opts = {
debug = true, -- Enable debugging
-- default window options
window = {
layout = "float", -- 'vertical', 'horizontal', 'float', 'replace'
width = 0.8, -- fractional width of parent, or absolute width in columns when > 1
height = 0.8, -- fractional height of parent, or absolute height in rows when > 1
-- Options below only apply to floating windows
relative = "editor", -- 'editor', 'win', 'cursor', 'mouse'
border = "single", -- 'none', single', 'double', 'rounded', 'solid', 'shadow'
row = nil, -- row position of the window, default is centered
col = nil, -- column position of the window, default is centered
title = "Copilot Chat", -- title of chat window
footer = nil, -- footer of chat window
zindex = 1, -- determines if window is on top or below other floating windows
},
},
vim.api.nvim_set_keymap("n", "<leader>gh", ":CopilotChatToggle<CR>", { noremap = true, silent = true }),
vim.api.nvim_set_keymap("n", "<leader>gr", ":CopilotChatReset<CR>", { noremap = true, silent = true }),
-- See Commands section for default commands if you want to lazy load on them
},
-- {
-- "CopilotC-Nvim/CopilotChat.nvim",
-- branch = "canary",
-- dependencies = {
-- { "github/copilot.vim" }, -- or github/copilot.vim
-- { "nvim-lua/plenary.nvim" }, -- for curl, log wrapper
-- },
-- build = "make tiktoken", -- Only on MacOS or Linux
-- opts = {
-- debug = true, -- Enable debugging
-- -- default window options
-- window = {
-- layout = "float", -- 'vertical', 'horizontal', 'float', 'replace'
-- width = 0.8, -- fractional width of parent, or absolute width in columns when > 1
-- height = 0.8, -- fractional height of parent, or absolute height in rows when > 1
-- -- Options below only apply to floating windows
-- relative = "editor", -- 'editor', 'win', 'cursor', 'mouse'
-- border = "single", -- 'none', single', 'double', 'rounded', 'solid', 'shadow'
-- row = nil, -- row position of the window, default is centered
-- col = nil, -- column position of the window, default is centered
-- title = "Copilot Chat", -- title of chat window
-- footer = nil, -- footer of chat window
-- zindex = 1, -- determines if window is on top or below other floating windows
-- },
-- },
-- vim.api.nvim_set_keymap("n", "<leader>gh", ":CopilotChatToggle<CR>", { noremap = true, silent = true }),
-- vim.api.nvim_set_keymap("n", "<leader>gr", ":CopilotChatReset<CR>", { noremap = true, silent = true }),
-- -- See Commands section for default commands if you want to lazy load on them
-- },
}