1
0
forked from aniani/vim

patch 9.0.0329: ":highlight" hangs when 'cmdheight' is zero

Problem:    ":highlight" hangs when 'cmdheight' is zero.
Solution:   Add to msg_col when using the message window. (closes #11014)
This commit is contained in:
Bram Moolenaar
2022-08-30 15:44:22 +01:00
parent e27d6e6382
commit 24735f2a19
3 changed files with 5 additions and 2 deletions

View File

@@ -1429,6 +1429,7 @@ do_highlight(
// If no argument, list current highlighting.
if (!init && ends_excmd2(line - 1, line))
{
dont_use_message_window();
for (i = 1; i <= highlight_ga.ga_len && !got_int; ++i)
// TODO: only call when the group has attributes set
highlight_list_one((int)i);