Skip to content

Commit

Permalink
Removed copilot cmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Gako358 committed Dec 18, 2024
1 parent d4688ca commit 59c759f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 26 deletions.
17 changes: 0 additions & 17 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@
url = "github:zbirenbaum/copilot.lua";
flake = false;
};
plugins-copilot-cmp = {
url = "github:zbirenbaum/copilot-cmp";
flake = false;
};
plugins-copilot-chat = {
url = "github:CopilotC-Nvim/CopilotChat.nvim";
flake = false;
Expand Down
8 changes: 4 additions & 4 deletions modules/completion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ in {
(mkIf cfg.copilot.enable {
vim.startPlugins = [
"copilot"
"copilot-cmp"
"copilot-chat"
];
vim.luaConfigRC.copilot =
Expand All @@ -213,13 +212,14 @@ in {
lua
*/
''
require("copilot_cmp").setup()
require("copilot").setup({
panel = { enabled = false },
panel = { enabled = true },
suggestion = {
enabled = false,
enabled = true,
auto_trigger = false,
keymap = {
accept = "<C-j>",
next = "<C-n>",
},
},
})
Expand Down
2 changes: 1 addition & 1 deletion modules/terminal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ in {
-- Create a new window
vim.cmd("vnew")
vim.cmd.wincmd("J")
vim.api.nvim_win_set_height(0, 10)
vim.api.nvim_win_set_height(0, 19)
vim.api.nvim_win_set_buf(0, state.simple.buf)
state.simple.win = vim.api.nvim_get_current_win()
end
Expand Down

0 comments on commit 59c759f

Please sign in to comment.