Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions modules/plugins/completion/blink-cmp/blink-cmp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ in {

completion = {
documentation = {
auto_show = mkBool true "Show documentation whenever an item is selected";
auto_show = mkOption {
type = either bool luaInline;
default = true;
description = "Show documentation whenever an item is selected. Can also be a function.";
};
auto_show_delay_ms = mkOption {
type = int;
default = 200;
Expand All @@ -70,12 +74,13 @@ in {
};

menu.auto_show = mkOption {
type = bool;
type = either bool luaInline;
default = true;
description = ''
Manages the appearance of the completion menu. You may prevent the menu
from automatically showing by this option to `false` and manually showing
it with the show keymap command.
from automatically showing by setting this to `false` and manually showing
it with the show keymap command. For more control you can also use a `luaInline`
expression with mkLuaInline.
'';
};
};
Expand Down
Loading