aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/helpers.c
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2021-04-12 20:51:05 +0200
committerGitHub <noreply@github.com>2021-04-12 20:51:05 +0200
commit4a36ec6da029269a8bac3aa0a25fa43ad4b988b2 (patch)
tree5b7170bec04d300dc1eb12bd7b6ae7037d4383dc /src/nvim/api/private/helpers.c
parent38930272009662cee1704dbb8dd0cd72260e6b05 (diff)
downloadrneovim-4a36ec6da029269a8bac3aa0a25fa43ad4b988b2.tar.gz
rneovim-4a36ec6da029269a8bac3aa0a25fa43ad4b988b2.tar.bz2
rneovim-4a36ec6da029269a8bac3aa0a25fa43ad4b988b2.zip
float: add "solid" border style (#14310)
It looks solid with the default `FloatBorder` group. If you set the bgcolor of FloatBorder to the same color as for FloatNormal, you effectively get an "1-cell padding".
Diffstat (limited to 'src/nvim/api/private/helpers.c')
-rw-r--r--src/nvim/api/private/helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index c73a9195c3..24ba6110c4 100644
--- a/src/nvim/api/private/helpers.c
+++ b/src/nvim/api/private/helpers.c
@@ -1765,6 +1765,7 @@ static void parse_border_style(Object style, FloatConfig *fconfig, Error *err)
{ "double", { "╔", "═", "╗", "║", "╝", "═", "╚", "║" }, false },
{ "single", { "┌", "─", "┐", "│", "┘", "─", "└", "│" }, false },
{ "shadow", { "", "", " ", " ", " ", " ", " ", "" }, true },
+ { "solid", { " ", " ", " ", " ", " ", " ", " ", " " }, false },
{ NULL, { { NUL } } , false },
};