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
|
|
@ -50,7 +50,6 @@ home-manager.users.<user>.home.packages = [
|
||||||
### Completion
|
### Completion
|
||||||
|
|
||||||
- `cmp.nix`: Configures the cmp completion framework.
|
- `cmp.nix`: Configures the cmp completion framework.
|
||||||
- `cmp-copilot.nix`: Adds GitHub Copilot support to cmp.
|
|
||||||
- `lspkind.nix`: Adds icons to lsp completion items.
|
- `lspkind.nix`: Adds icons to lsp completion items.
|
||||||
- `autopairs.nix`: Adds the autopairs plugin.
|
- `autopairs.nix`: Adds the autopairs plugin.
|
||||||
- `schemastore.nix`: Adds the schemastore plugin for JSON and YAML schemas.
|
- `schemastore.nix`: Adds the schemastore plugin for JSON and YAML schemas.
|
||||||
|
|
@ -67,7 +66,6 @@ home-manager.users.<user>.home.packages = [
|
||||||
- `illuminate.nix`: Configures the Illuminate plugin for highlighting other uses of the current word under the cursor.
|
- `illuminate.nix`: Configures the Illuminate plugin for highlighting other uses of the current word under the cursor.
|
||||||
- `indent-blankline.nix`: Configures the Indent Blankline plugin for displaying indentation levels.
|
- `indent-blankline.nix`: Configures the Indent Blankline plugin for displaying indentation levels.
|
||||||
- `todo-comments.nix`: Configures the Todo Comments plugin for highlighting TODO comments.
|
- `todo-comments.nix`: Configures the Todo Comments plugin for highlighting TODO comments.
|
||||||
- `copilot-chat.nix`: Configures the Copilot Chat plugin for interacting with GitHub Copilot.
|
|
||||||
- `navic.nix`: Configures the Navic plugin, shows the current code context.
|
- `navic.nix`: Configures the Navic plugin, shows the current code context.
|
||||||
|
|
||||||
### UI Plugins
|
### UI Plugins
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ _: {
|
||||||
|
|
||||||
# Completion
|
# Completion
|
||||||
./plugins/cmp/cmp.nix
|
./plugins/cmp/cmp.nix
|
||||||
./plugins/cmp/cmp-copilot.nix
|
|
||||||
./plugins/cmp/lspkind.nix
|
./plugins/cmp/lspkind.nix
|
||||||
./plugins/cmp/autopairs.nix
|
./plugins/cmp/autopairs.nix
|
||||||
./plugins/cmp/schemastore.nix
|
./plugins/cmp/schemastore.nix
|
||||||
|
|
@ -26,7 +25,6 @@ _: {
|
||||||
./plugins/editor/illuminate.nix
|
./plugins/editor/illuminate.nix
|
||||||
./plugins/editor/indent-blankline.nix
|
./plugins/editor/indent-blankline.nix
|
||||||
./plugins/editor/todo-comments.nix
|
./plugins/editor/todo-comments.nix
|
||||||
./plugins/editor/copilot-chat.nix
|
|
||||||
./plugins/editor/navic.nix
|
./plugins/editor/navic.nix
|
||||||
|
|
||||||
# UI plugins
|
# UI plugins
|
||||||
|
|
|
||||||
|
|
@ -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";
|
option.get_bufnrs.__raw = "vim.api.nvim_list_bufs";
|
||||||
keywordLength = 3;
|
keywordLength = 3;
|
||||||
}
|
}
|
||||||
{ name = "copilot"; }
|
|
||||||
{
|
{
|
||||||
name = "path"; # file system paths
|
name = "path"; # file system paths
|
||||||
keywordLength = 3;
|
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";
|
__unkeyed-1 = "filename";
|
||||||
path = 1;
|
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 = [
|
lualine_y = [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue