summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-30 15:44:22 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-30 15:44:22 +0100
commit24735f2a19c666f545330a267a32ae5df72db25c (patch)
tree17d9cdc996658963dd038241d9a4e6cc771fcdcd /src/highlight.c
parente27d6e6382795e86ea4dd3a86396350a4c29b6fb (diff)
patch 9.0.0329: ":highlight" hangs when 'cmdheight' is zerov9.0.0329
Problem: ":highlight" hangs when 'cmdheight' is zero. Solution: Add to msg_col when using the message window. (closes #11014)
Diffstat (limited to 'src/highlight.c')
-rw-r--r--src/highlight.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/highlight.c b/src/highlight.c
index 95cdb46b5a..3a12312fc5 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -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);