1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00
nixvim/plugins/by-name/mini-completion/default.nix
2025-11-02 12:31:24 +00:00

40 lines
930 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "mini-completion";
moduleName = "mini.completion";
maintainers = [ lib.maintainers.HeitorAugustoLN ];
settingsExample = {
delay = {
completion = 100;
info = 100;
signature = 50;
};
window = {
info = {
height = 25;
width = 80;
border = lib.nixvim.nestedLiteralLua "nil";
};
signature = {
height = 25;
width = 80;
border = lib.nixvim.nestedLiteralLua "nil";
};
};
lsp_completion = {
source_func = "completefunc";
auto_setup = true;
process_items = lib.nixvim.nestedLiteralLua "nil";
snippet_insert = lib.nixvim.nestedLiteralLua "nil";
};
fallback_action = "<C-n>";
mappings = {
force_twostep = "<C-Space>";
force_fallback = "<A-Space>";
scroll_down = "<C-f>";
scroll_up = "<C-b>";
};
};
}