mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
nvim-cmp: refactor window options
This commit is contained in:
parent
e2ffc64e68
commit
ac6deb4e95
1 changed files with 3 additions and 3 deletions
|
@ -299,8 +299,6 @@ in
|
|||
border = with types; mkNullOrOption (either str (listOf str)) null;
|
||||
winhighlight = mkNullOrOption types.str null;
|
||||
zindex = mkNullOrOption types.int null;
|
||||
col_offset = mkNullOrOption types.int null;
|
||||
side_padding = mkNullOrOption types.int null;
|
||||
in
|
||||
mkOption {
|
||||
default = null;
|
||||
|
@ -310,7 +308,9 @@ in
|
|||
default = null;
|
||||
type = types.nullOr (types.submodule ({ ... }: {
|
||||
options = {
|
||||
inherit border winhighlight zindex col_offset side_padding;
|
||||
inherit border winhighlight zindex;
|
||||
col_offset = mkNullOrOption types.int "Offsets the completion window relative to the cursor";
|
||||
side_padding = mkNullOrOption types.int "The amount of padding to add on the completion window's sides";
|
||||
};
|
||||
}));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue