diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-03-19 14:17:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-19 14:17:53 +0800 |
commit | 190d0241e2a0cd4ec4bcb520772db835df935530 (patch) | |
tree | 4c5242a5c7376bddf73217e9a27ca0d352093d79 /src/nvim/options.lua | |
parent | aafbd442b2f8ed3c03dae418fabfe3df28608e22 (diff) | |
download | rneovim-190d0241e2a0cd4ec4bcb520772db835df935530.tar.gz rneovim-190d0241e2a0cd4ec4bcb520772db835df935530.tar.bz2 rneovim-190d0241e2a0cd4ec4bcb520772db835df935530.zip |
fix(options): fix 'winborder' accepting multiple string values (#32978)
Problem: 'winborder' accepting multiple string values.
Solution: Use the fallback did_set_str_generic() callback instead of
did_set_winborder() which calls opt_strings_flags() with
incorrect last argument.
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 3cf60513c4..6c71477ba0 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -10190,7 +10190,6 @@ local options = { }, { 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 |