chore: remove all copilot references
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
86ade85ed2
commit
70b5f7dab4
6 changed files with 0 additions and 81 deletions
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
plugins.copilot-cmp = {
|
||||
enable = true;
|
||||
};
|
||||
plugins.copilot-lua = {
|
||||
settings = {
|
||||
copilot = {
|
||||
suggestion = {
|
||||
enabled = false;
|
||||
};
|
||||
panel = {
|
||||
enabled = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
extraConfigLua = ''
|
||||
require("copilot").setup({
|
||||
suggestion = { enabled = false },
|
||||
panel = { enabled = false },
|
||||
})
|
||||
'';
|
||||
}
|
||||
|
|
@ -34,7 +34,6 @@
|
|||
option.get_bufnrs.__raw = "vim.api.nvim_list_bufs";
|
||||
keywordLength = 3;
|
||||
}
|
||||
{ name = "copilot"; }
|
||||
{
|
||||
name = "path"; # file system paths
|
||||
keywordLength = 3;
|
||||
|
|
|
|||
|
|
@ -1,38 +0,0 @@
|
|||
_: {
|
||||
plugins.copilot-chat = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
keymaps = [
|
||||
{
|
||||
key = "<leader>ct";
|
||||
action = "<CMD>CopilotChatToggle<CR>";
|
||||
options.desc = "Toggle Copilot Chat Window";
|
||||
}
|
||||
{
|
||||
key = "<leader>cs";
|
||||
action = "<CMD>CopilotChatStop<CR>";
|
||||
options.desc = "Stop current Copilot output";
|
||||
}
|
||||
{
|
||||
key = "<leader>cr";
|
||||
action = "<CMD>CopilotChatReview<CR>";
|
||||
options.desc = "Review the selected code";
|
||||
}
|
||||
{
|
||||
key = "<leader>ce";
|
||||
action = "<CMD>CopilotChatExplain<CR>";
|
||||
options.desc = "Give an explanation for the selected code";
|
||||
}
|
||||
{
|
||||
key = "<leader>cd";
|
||||
action = "<CMD>CopilotChatDocs<CR>";
|
||||
options.desc = "Add documentation for the selection";
|
||||
}
|
||||
{
|
||||
key = "<leader>cp";
|
||||
action = "<CMD>CopilotChatTests<CR>";
|
||||
options.desc = "Add tests for my code";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
@ -66,20 +66,6 @@ _: {
|
|||
__unkeyed-1 = "filename";
|
||||
path = 1;
|
||||
}
|
||||
{
|
||||
__unkeyed-1.__raw = ''
|
||||
function()
|
||||
local icon = " "
|
||||
local status = require("copilot.api").status.data
|
||||
return icon .. (status.message or " ")
|
||||
end,
|
||||
|
||||
cond = function()
|
||||
local ok, clients = pcall(vim.lsp.get_clients, { name = "copilot", bufnr = 0 })
|
||||
return ok and #clients > 0
|
||||
end,
|
||||
'';
|
||||
}
|
||||
];
|
||||
lualine_y = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue