Compare commits

..

No commits in common. "a72c204d2cba61ead60bbf02bb6a6a98b9bd3721" and "c07410f1838ce6a44708c49b8ed6fb061babc5ac" have entirely different histories.

2 changed files with 3 additions and 30 deletions

View file

@ -271,8 +271,4 @@ https://github.com/gorbit99/codewindow.nvim
- [img-clip.nvim]'s configuration now has it's own DAG entry, separate from
image-nvim.
[alv-around](https://github.com/alv-around):
- Fix `vim.assistant.codecompanion-nvim` lazy loading with [blink-cmp]
<!-- vim: set textwidth=80: -->

View file

@ -18,18 +18,6 @@ in {
package = "codecompanion-nvim";
setupModule = "codecompanion";
inherit (cfg) setupOpts;
# Register commands with lz.n so Neovim recognizes them immediately
cmd = [
"CodeCompanion"
"CodeCompanionChat"
"CodeCompanionActions"
"CodeCompanionCmd"
];
# Ensure the plugin loads when entering Insert/Cmdline mode
# so the module is ready when blink.cmp requests it
event = ["InsertEnter" "CmdlineEnter"];
};
};
@ -45,21 +33,10 @@ in {
];
};
autocomplete = {
nvim-cmp = {
autocomplete.nvim-cmp = {
sources = {codecompanion-nvim = "[codecompanion]";};
sourcePlugins = ["codecompanion-nvim"];
};
blink-cmp = {
setupOpts.sources = {
default = ["codecompanion"];
providers.codecompanion = {
name = "CodeCompanion";
module = "codecompanion.providers.completion.blink";
};
};
};
};
};
};
}