mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
45 lines
885 B
Nix
45 lines
885 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "blink-cmp";
|
|
packPathName = "blink.cmp";
|
|
package = "blink-cmp";
|
|
|
|
maintainers = with lib.maintainers; [
|
|
balssh
|
|
khaneliman
|
|
];
|
|
|
|
description = ''
|
|
Performant, batteries-included completion plugin for Neovim.
|
|
'';
|
|
|
|
settingsOptions = import ./settings-options.nix lib;
|
|
|
|
settingsExample = {
|
|
keymap.preset = "super-tab";
|
|
sources = {
|
|
providers = {
|
|
buffer.score_offset = -7;
|
|
lsp.fallbacks = [ ];
|
|
};
|
|
cmdline = [ ];
|
|
};
|
|
completion = {
|
|
accept = {
|
|
auto_brackets = {
|
|
enabled = true;
|
|
semantic_token_resolution.enabled = false;
|
|
};
|
|
};
|
|
documentation.auto_show = true;
|
|
};
|
|
appearance = {
|
|
use_nvim_cmp_as_default = true;
|
|
nerd_font_variant = "normal";
|
|
};
|
|
signature.enabled = true;
|
|
};
|
|
}
|