mirror of
https://github.com/neovim/neovim.git
synced 2025-09-10 21:38:19 +00:00
'guicursor': enabled=false if 'guicursor' is empty
Closes #6429 Closes #6430
This commit is contained in:
@@ -300,11 +300,11 @@ static void remote_ui_scroll(UI *ui, int count)
|
||||
push_call(ui, "scroll", args);
|
||||
}
|
||||
|
||||
static void remote_ui_cursor_style_set(UI *ui, Dictionary styles)
|
||||
static void remote_ui_cursor_style_set(UI *ui, bool enabled, Dictionary data)
|
||||
{
|
||||
Array args = ARRAY_DICT_INIT;
|
||||
Object copy = copy_object(DICTIONARY_OBJ(styles));
|
||||
ADD(args, copy);
|
||||
ADD(args, BOOLEAN_OBJ(enabled));
|
||||
ADD(args, copy_object(DICTIONARY_OBJ(data)));
|
||||
push_call(ui, "cursor_style_set", args);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user