Public Access
removed Copilot
This commit is contained in:
@@ -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
|
||||
-- },
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
return {
|
||||
"github/copilot.vim",
|
||||
-- "github/copilot.vim",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user