mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
fix(blink-cmp): Extended auto_show type
This commit is contained in:
parent
f5769ca156
commit
fce64dd084
1 changed files with 9 additions and 4 deletions
|
@ -61,7 +61,11 @@ in {
|
||||||
|
|
||||||
completion = {
|
completion = {
|
||||||
documentation = {
|
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 {
|
auto_show_delay_ms = mkOption {
|
||||||
type = int;
|
type = int;
|
||||||
default = 200;
|
default = 200;
|
||||||
|
@ -70,12 +74,13 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
menu.auto_show = mkOption {
|
menu.auto_show = mkOption {
|
||||||
type = bool;
|
type = either bool luaInline;
|
||||||
default = true;
|
default = true;
|
||||||
description = ''
|
description = ''
|
||||||
Manages the appearance of the completion menu. You may prevent the menu
|
Manages the appearance of the completion menu. You may prevent the menu
|
||||||
from automatically showing by this option to `false` and manually showing
|
from automatically showing by setting this to `false` and manually showing
|
||||||
it with the show keymap command.
|
it with the show keymap command. For more control you can also use a `luaInline`
|
||||||
|
expression with mkLuaInline.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue