revert: show "g<" hint when message spills 'cmdheight'

Problem:  Hint message to press "g<" for message that spills
          'cmdheight' is too intrusive.
Solution: Remove the hint message. Document the meaning of the spill
          indicator instead.
This commit is contained in:
Luuk van Baal
2025-05-14 12:28:05 +02:00
committed by luukvbaal
parent 4d56dc43c0
commit d25eb246ef
3 changed files with 11 additions and 6 deletions

View File

@@ -30,6 +30,10 @@
---These four windows are assigned the "cmdline", "msgbox", "msgmore" and
---"msgprompt" 'filetype' respectively. Use a |FileType| autocommand to configure
---any local options for these windows and their respective buffers.
---
---Rather than a |hit-enter-prompt|, messages shown in the cmdline area that do
---not fit are appended with a `[+x]` "spill" indicator, where `x` indicates the
---spilled lines. To see the full message, the |g<| command can be used.
local api = vim.api
local ext = require('vim._extui.shared')