mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-03-08 01:36:02 +00:00
Compare commits
No commits in common. "a72c204d2cba61ead60bbf02bb6a6a98b9bd3721" and "c07410f1838ce6a44708c49b8ed6fb061babc5ac" have entirely different histories.
a72c204d2c
...
c07410f183
2 changed files with 3 additions and 30 deletions
|
|
@ -271,8 +271,4 @@ https://github.com/gorbit99/codewindow.nvim
|
||||||
- [img-clip.nvim]'s configuration now has it's own DAG entry, separate from
|
- [img-clip.nvim]'s configuration now has it's own DAG entry, separate from
|
||||||
image-nvim.
|
image-nvim.
|
||||||
|
|
||||||
[alv-around](https://github.com/alv-around):
|
|
||||||
|
|
||||||
- Fix `vim.assistant.codecompanion-nvim` lazy loading with [blink-cmp]
|
|
||||||
|
|
||||||
<!-- vim: set textwidth=80: -->
|
<!-- vim: set textwidth=80: -->
|
||||||
|
|
|
||||||
|
|
@ -18,18 +18,6 @@ in {
|
||||||
package = "codecompanion-nvim";
|
package = "codecompanion-nvim";
|
||||||
setupModule = "codecompanion";
|
setupModule = "codecompanion";
|
||||||
inherit (cfg) setupOpts;
|
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 = {
|
autocomplete.nvim-cmp = {
|
||||||
nvim-cmp = {
|
|
||||||
sources = {codecompanion-nvim = "[codecompanion]";};
|
sources = {codecompanion-nvim = "[codecompanion]";};
|
||||||
sourcePlugins = ["codecompanion-nvim"];
|
sourcePlugins = ["codecompanion-nvim"];
|
||||||
};
|
};
|
||||||
blink-cmp = {
|
|
||||||
setupOpts.sources = {
|
|
||||||
default = ["codecompanion"];
|
|
||||||
providers.codecompanion = {
|
|
||||||
name = "CodeCompanion";
|
|
||||||
module = "codecompanion.providers.completion.blink";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue