mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 06:48:17 +00:00
'guicursor': enabled=false if 'guicursor' is empty
Closes #6429 Closes #6430
This commit is contained in:
@@ -381,7 +381,8 @@ void ui_cursor_goto(int new_row, int new_col)
|
||||
void ui_cursor_style_set(void)
|
||||
{
|
||||
Dictionary style = cursor_shape_dict();
|
||||
UI_CALL(cursor_style_set, style);
|
||||
bool enabled = (*p_guicursor != NUL);
|
||||
UI_CALL(cursor_style_set, enabled, style);
|
||||
api_free_dictionary(style);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user