mirror of
https://github.com/neovim/neovim.git
synced 2026-03-10 01:54:05 +10:00
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:
@@ -75,7 +75,7 @@ let test_values = {
|
||||
\ 'shada': [['', '''50', '"30'], ['xxx']],
|
||||
\ 'termpastefilter': [['BS', 'HT', 'FF', 'ESC', 'DEL', 'C0', 'C1', 'C0,C1'],
|
||||
\ ['xxx', 'C0,C1,xxx']],
|
||||
\ 'winborder': [['rounded', 'none', 'single', 'solid'], ['xxx']],
|
||||
\ 'winborder': [['rounded', 'none', 'single', 'solid'], ['xxx', 'none,solid']],
|
||||
\ 'winhighlight': [['', 'a:b', 'a:', 'a:b,c:d'],
|
||||
\ ['a', ':', ':b', 'a:b:c', 'a:/', '/:b', ',', 'a:b,,', 'a:b,c']],
|
||||
\
|
||||
|
||||
Reference in New Issue
Block a user