mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 08:48:16 +00:00
fix(options): mark winhighlight
as list style (#19477)
Also add missing fcs, lcs and winhighlight to list of key-value options for `vim.opt`. Co-authored-by: ii14 <ii14@users.noreply.github.com>
This commit is contained in:
@@ -198,7 +198,10 @@ end
|
|||||||
-- Can be done in a separate PR.
|
-- Can be done in a separate PR.
|
||||||
local key_value_options = {
|
local key_value_options = {
|
||||||
fillchars = true,
|
fillchars = true,
|
||||||
|
fcs = true,
|
||||||
listchars = true,
|
listchars = true,
|
||||||
|
lcs = true,
|
||||||
|
winhighlight = true,
|
||||||
winhl = true,
|
winhl = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2868,7 +2868,8 @@ return {
|
|||||||
{
|
{
|
||||||
full_name='winhighlight', abbreviation='winhl',
|
full_name='winhighlight', abbreviation='winhl',
|
||||||
short_desc=N_("Setup window-local highlights");
|
short_desc=N_("Setup window-local highlights");
|
||||||
type='string', scope={'window'},
|
type='string', list='onecomma', scope={'window'},
|
||||||
|
deny_duplicates=true,
|
||||||
alloced=true,
|
alloced=true,
|
||||||
redraw={'current_window'},
|
redraw={'current_window'},
|
||||||
defaults={if_true=""}
|
defaults={if_true=""}
|
||||||
|
@@ -2732,8 +2732,8 @@ describe('API', function()
|
|||||||
|
|
||||||
it('should have information about window options', function()
|
it('should have information about window options', function()
|
||||||
eq({
|
eq({
|
||||||
allows_duplicates = true,
|
allows_duplicates = false,
|
||||||
commalist = false;
|
commalist = true;
|
||||||
default = "";
|
default = "";
|
||||||
flaglist = false;
|
flaglist = false;
|
||||||
global_local = false;
|
global_local = false;
|
||||||
|
Reference in New Issue
Block a user