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

@ -140,13 +140,12 @@ in {
floatOpts = {
border =
helpers.defaultNullOpts.mkStr "single"
helpers.defaultNullOpts.mkBorder "single" "toggleterm"
''
`border` = 'single' | 'double' | 'shadow' | 'curved' | ... other options supported by
`win open`.
The border key is *almost* the same as 'nvim_open_win'.
See `:h nvim_open_win` for details on borders however the 'curved' border is a custom
border type not natively supported but implemented in this plugin.
The 'curved' border is a custom border type not natively supported but implemented in this plugin.
'';
width = helpers.defaultNullOpts.mkInt 50 "";