helpers.defaultNullOpts: add mkBorder

This commit is contained in:
Wolbyte 2023-06-26 14:39:06 +03:30 committed by Gaétan Lepage
parent be6a29c800
commit 600cd12057
10 changed files with 29 additions and 36 deletions

View file

@ -73,8 +73,7 @@ in {
hoverActions = helpers.mkCompositeOption "hover actions" {
border =
helpers.defaultNullOpts.mkNullable (types.listOf (types.listOf types.str))
''
helpers.defaultNullOpts.mkBorder ''
[
[ "" "FloatBorder" ]
[ "" "FloatBorder" ]
@ -86,7 +85,7 @@ in {
[ "" "FloatBorder" ]
]
''
"the border that is used for the hover window. see vim.api.nvim_open_win()";
"rust-tools hover window" "";
maxWidth =
helpers.defaultNullOpts.mkNullable types.int "null"