aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/api.txt')
-rw-r--r--runtime/doc/api.txt32
1 files changed, 12 insertions, 20 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index dae4df00af..eba4bc9562 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -3493,28 +3493,20 @@ nvim_open_win({buffer}, {enter}, {config}) *nvim_open_win()*
`eob` flag of 'fillchars' to a space char, and clearing
the |hl-EndOfBuffer| region in 'winhighlight'.
• border: Style of (optional) window border. This can either
- be a string or an array. The string values are
- • "none": No border (default).
- • "single": A single line box.
- • "double": A double line box.
- • "rounded": Like "single", but with rounded corners
- ("╭" etc.).
- • "solid": Adds padding by a single whitespace cell.
- • "shadow": A drop shadow effect by blending with the
- background.
- • If it is an array, it should have a length of eight or
- any divisor of eight. The array will specify the eight
- chars building up the border in a clockwise fashion
- starting with the top-left corner. As an example, the
- double box style could be specified as: >
- [ "╔", "═" ,"╗", "║", "╝", "═", "╚", "║" ].
+ be a string or an array. The string values are the same as
+ those described in 'winborder'. If it is an array, it
+ should have a length of eight or any divisor of eight. The
+ array will specify the eight chars building up the border
+ in a clockwise fashion starting with the top-left corner.
+ As an example, the double box style could be specified as: >
+ [ "╔", "═" ,"╗", "║", "╝", "═", "╚", "║" ].
<
- If the number of chars are less than eight, they will be
- repeated. Thus an ASCII border could be specified as >
- [ "/", "-", \"\\\\\", "|" ],
+ If the number of chars are less than eight, they will be
+ repeated. Thus an ASCII border could be specified as >
+ [ "/", "-", \"\\\\\", "|" ],
<
- or all chars the same as >
- [ "x" ].
+ or all chars the same as >
+ [ "x" ].
<
An empty string can be used to turn off a specific border,
for instance, >