mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 10:48:35 +02:00
plugins/completion: move to by-name
- Move nvim-cmp to plugins/cmp - Move other completion plugins to plugins/by-name
This commit is contained in:
parent
3211a63306
commit
ad85cd760e
36 changed files with 2 additions and 9 deletions
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
empty = {
|
||||
# We do not provide the required HF_API_KEY environment variable.
|
||||
test.runNvim = false;
|
||||
|
||||
plugins.cmp = {
|
||||
enable = true;
|
||||
settings.sources = [ { name = "cmp_ai"; } ];
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
# We do not provide the required HF_API_KEY environment variable.
|
||||
test.runNvim = false;
|
||||
|
||||
plugins = {
|
||||
cmp = {
|
||||
enable = true;
|
||||
settings.sources = [ { name = "cmp_ai"; } ];
|
||||
};
|
||||
cmp-ai.settings = {
|
||||
max_lines = 1000;
|
||||
provider = "HF";
|
||||
notify = true;
|
||||
notify_callback = ''
|
||||
function(msg)
|
||||
vim.notify(msg)
|
||||
end
|
||||
'';
|
||||
run_on_every_keystroke = true;
|
||||
ignored_file_types = {
|
||||
lua = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue