nix-community.nixvim/plugins/by-name/blink-cmp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
885 B
Nix
Raw Normal View History

2024-10-10 23:39:56 +03:00
{
lib,
...
}:
2024-12-22 09:58:27 +00:00
lib.nixvim.plugins.mkNeovimPlugin {
2024-10-10 23:39:56 +03:00
name = "blink-cmp";
packPathName = "blink.cmp";
2024-10-10 23:39:56 +03:00
package = "blink-cmp";
maintainers = with lib.maintainers; [
balssh
khaneliman
];
2024-10-10 23:39:56 +03:00
description = ''
Performant, batteries-included completion plugin for Neovim.
'';
2024-12-30 23:55:58 +01:00
settingsOptions = import ./settings-options.nix lib;
2024-10-10 23:39:56 +03:00
2024-12-30 23:55:58 +01:00
settingsExample = {
keymap.preset = "super-tab";
sources = {
providers = {
buffer.score_offset = -7;
lsp.fallbacks = [ ];
2024-10-10 23:39:56 +03:00
};
2024-12-30 23:55:58 +01:00
cmdline = [ ];
};
completion = {
accept = {
auto_brackets = {
enabled = true;
semantic_token_resolution.enabled = false;
};
2024-10-10 23:39:56 +03:00
};
2024-12-30 23:55:58 +01:00
documentation.auto_show = true;
2024-10-10 23:39:56 +03:00
};
2024-12-30 23:55:58 +01:00
appearance = {
2024-10-10 23:39:56 +03:00
use_nvim_cmp_as_default = true;
2024-12-30 23:55:58 +01:00
nerd_font_variant = "normal";
2024-10-10 23:39:56 +03:00
};
2024-12-30 23:55:58 +01:00
signature.enabled = true;
2024-10-10 23:39:56 +03:00
};
}