mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 20:54:56 +02:00
helpers/options: allow raw values for border options
This commit is contained in:
parent
97eed79568
commit
06e4a4e0c8
2 changed files with 2 additions and 2 deletions
|
@ -143,7 +143,7 @@ with nixvimUtils; rec {
|
|||
mkEnumFirstDefault = enumValues: mkEnum enumValues (head enumValues);
|
||||
mkBorder = default: name: desc:
|
||||
mkNullable
|
||||
nixvimTypes.border
|
||||
(with nixvimTypes; maybeRaw border)
|
||||
default
|
||||
(let
|
||||
defaultDesc = ''
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
documentation = {
|
||||
maxHeight = "math.floor(40 * (40 / vim.o.lines))";
|
||||
maxWidth = "math.floor((40 * 2) * (vim.o.columns / (40 * 2 * 16 / 9)))";
|
||||
border = ["" "" "" " " "" "" "" " "];
|
||||
border.__raw = "cmp.config.window.bordered()";
|
||||
winhighlight = "FloatBorder:NormalFloat";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue