mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
feat: add blink.nvim
This commit is contained in:
parent
e7356f6be0
commit
a4c3ad01cd
2 changed files with 200 additions and 0 deletions
66
tests/test-sources/plugins/by-name/blink-cmp/default.nix
Normal file
66
tests/test-sources/plugins/by-name/blink-cmp/default.nix
Normal file
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
empty = {
|
||||
test.runNvim = false;
|
||||
plugins.blink-cmp.enable = true;
|
||||
};
|
||||
|
||||
default = {
|
||||
test.runNvim = false;
|
||||
plugins.blink-cmp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
keymap = {
|
||||
show = "<C-space>";
|
||||
hide = "<C-e>";
|
||||
accept = "<Tab>";
|
||||
select_prev = "<C-p>";
|
||||
select_next = "<C-n>";
|
||||
show_documentation = "<C-space>";
|
||||
hide_documentation = "<C-space>";
|
||||
scroll_documentation_up = "<C-b>";
|
||||
scroll_documentation_down = "<C-f>";
|
||||
snippet_forward = "<Tab>";
|
||||
snippet_backward = "<S-Tab>";
|
||||
};
|
||||
highlight = {
|
||||
use_nvim_cmp_as_default = false;
|
||||
};
|
||||
nerd_font_variant = "normal";
|
||||
documentation = {
|
||||
auto_show = false;
|
||||
auto_show_delay_ms = 500;
|
||||
update_delay_ms = 50;
|
||||
};
|
||||
accept = {
|
||||
auto_brackets = {
|
||||
enabled = false;
|
||||
};
|
||||
};
|
||||
trigger = {
|
||||
signature_help = {
|
||||
enabled = false;
|
||||
show_on_insert_on_trigger_character = false;
|
||||
};
|
||||
};
|
||||
fuzzy = {
|
||||
use_frecency = true;
|
||||
use_proximity = true;
|
||||
max_items = 200;
|
||||
prebuiltBinaries = {
|
||||
download = false;
|
||||
};
|
||||
};
|
||||
sources = {
|
||||
completion = {
|
||||
enabled_providers = [
|
||||
"lsp"
|
||||
"path"
|
||||
"snippets"
|
||||
"buffer"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue