aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-04-05 00:21:51 +0200
committerGitHub <noreply@github.com>2021-04-05 00:21:51 +0200
commit9b2d4ff625c59961288dfb2708cc94516667b2ad (patch)
treee3c00985f13558020766a21b15fb0a3a530a530c /src/nvim/api/vim.c
parent160c9fd126220d6e79204f637ac4bcd999527d4b (diff)
parenta4d3804837e865ca11d2fd0701d23f7eda4da4e4 (diff)
downloadrneovim-9b2d4ff625c59961288dfb2708cc94516667b2ad.tar.gz
rneovim-9b2d4ff625c59961288dfb2708cc94516667b2ad.tar.bz2
rneovim-9b2d4ff625c59961288dfb2708cc94516667b2ad.zip
Merge pull request #14227 from bfredl/bordaa3
Border: allow to enable/disable specific border edges
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 09496f5d0a..b5e53beabe 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1422,6 +1422,7 @@ void nvim_chan_send(Integer chan, String data, Error *err)
/// - "none" No border. This is the default
/// - "single" a single line box
/// - "double" a double line box
+/// - "shadow" a drop shadow effect by blending with the background.
/// If it is an array it should be an array of eight items or any divisor of
/// eight. The array will specifify the eight chars building up the border
/// in a clockwise fashion starting with the top-left corner. As, an
@@ -1432,6 +1433,9 @@ void nvim_chan_send(Integer chan, String data, Error *err)
/// [ "/", "-", "\\", "|" ]
/// or all chars the same as:
/// [ "x" ]
+/// An empty string can be used to turn off a specific border, for instance:
+/// [ "", "", "", ">", "", "", "", "<" ]
+/// will only make vertical borders but not horizontal ones.
/// By default `FloatBorder` highlight is used which links to `VertSplit`
/// when not defined. It could also be specified by character:
/// [ {"+", "MyCorner"}, {"x", "MyBorder"} ]