aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index d150303033..3cf60513c4 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -10189,6 +10189,26 @@ local options = {
type = 'number',
},
{
+ defaults = { if_true = '' },
+ cb = 'did_set_winborder',
+ values = { '', 'double', 'single', 'shadow', 'rounded', 'solid', 'none' },
+ desc = [=[
+ Defines the default border style of floating windows. The default value
+ is empty, which is equivalent to "none". Valid values include:
+ - "none": No border.
+ - "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.
+ ]=],
+ full_name = 'winborder',
+ scope = { 'global' },
+ short_desc = N_('border of floating window'),
+ type = 'string',
+ varname = 'p_winbd',
+ },
+ {
abbreviation = 'wi',
cb = 'did_set_window',
defaults = {