diff --git a/lib/options.nix b/lib/options.nix index b6d9f8d3..1f242da1 100644 --- a/lib/options.nix +++ b/lib/options.nix @@ -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 = '' diff --git a/tests/test-sources/plugins/completion/nvim-cmp.nix b/tests/test-sources/plugins/completion/nvim-cmp.nix index ea8e5d17..781513ad 100644 --- a/tests/test-sources/plugins/completion/nvim-cmp.nix +++ b/tests/test-sources/plugins/completion/nvim-cmp.nix @@ -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"; }; };