mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 08:34:41 +02:00
helpers.defaultNullOpts: add mkBorder
This commit is contained in:
parent
be6a29c800
commit
600cd12057
10 changed files with 29 additions and 36 deletions
|
@ -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 "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue