From bec2336231f434948fcd17b35b67584234785996 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 25 Aug 2019 20:53:17 +0200 Subject: vim-patch:8.1.1913: not easy to compute the space on the command line (#10845) Problem: Not easy to compute the space on the command line. Solution: Add v:echospace. (Daniel Hahler, closes vim/vim#4732) https://github.com/vim/vim/commit/37f4cbd46f5a6f2dd3a48d5fa4324dce37e4bd6c --- runtime/doc/eval.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 9bf964853a..209f1df4af 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1529,6 +1529,13 @@ v:dying Normally zero. When a deadly signal is caught it's set to *v:exiting* *exiting-variable* v:exiting Exit code, or |v:null| if not exiting. |VimLeave| + *v:echospace* *echospace-variable* +v:echospace Number of screen cells that can be used for an `:echo` message + in the last screen line before causing the |hit-enter-prompt|. + Depends on 'showcmd', 'ruler' and 'columns'. You need to + check 'cmdheight' for whether there are full-width lines + available above the last line. + *v:errmsg* *errmsg-variable* v:errmsg Last given error message. Modifiable (can be set). -- cgit