aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_extui.lua
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2025-05-14 12:28:05 +0200
committerluukvbaal <luukvbaal@gmail.com>2025-05-14 15:36:42 +0200
commitd25eb246efc5d8886c72c2e3f0107decf79f625d (patch)
tree5cf92830f779e11c3867df4886500b94f745fe53 /runtime/lua/vim/_extui.lua
parent4d56dc43c0ea1417db04dd27b8fc4e242184e67b (diff)
downloadrneovim-d25eb246efc5d8886c72c2e3f0107decf79f625d.tar.gz
rneovim-d25eb246efc5d8886c72c2e3f0107decf79f625d.tar.bz2
rneovim-d25eb246efc5d8886c72c2e3f0107decf79f625d.zip
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.
Diffstat (limited to 'runtime/lua/vim/_extui.lua')
-rw-r--r--runtime/lua/vim/_extui.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lua/vim/_extui.lua b/runtime/lua/vim/_extui.lua
index 99a3dfa307..7968049bd2 100644
--- a/runtime/lua/vim/_extui.lua
+++ b/runtime/lua/vim/_extui.lua
@@ -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')