mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/blink-cmp: update completion.list.selection type
Changed in latest release. Making type backwards compatible with previous release.
This commit is contained in:
parent
2054094544
commit
2f9b103d2e
2 changed files with 14 additions and 5 deletions
|
@ -164,7 +164,13 @@ in
|
|||
Maximum number of items to display.
|
||||
'';
|
||||
|
||||
selection = defaultNullOpts.mkEnumFirstDefault [ "preselect" "manual" "auto_insert" ] ''
|
||||
selection =
|
||||
defaultNullOpts.mkNullableWithRaw (types.either types.str (types.attrsOf types.anything))
|
||||
{
|
||||
preselect = true;
|
||||
auto_insert = true;
|
||||
}
|
||||
''
|
||||
Controls if completion items will be selected automatically, and whether selection
|
||||
automatically inserts.
|
||||
'';
|
||||
|
|
|
@ -42,7 +42,10 @@
|
|||
};
|
||||
list = {
|
||||
max_items = 200;
|
||||
selection = "preselect";
|
||||
selection = {
|
||||
preselect = true;
|
||||
auto_insert = true;
|
||||
};
|
||||
cycle = {
|
||||
from_bottom = true;
|
||||
from_top = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue