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.
This commit is contained in:
zeertzjq
2025-03-19 14:17:53 +08:00
committed by GitHub
parent aafbd442b2
commit 190d0241e2
3 changed files with 1 additions and 11 deletions

View File

@@ -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