mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-30 02:34:21 -05:00
nvim-cmp: refactor window options
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user