From: Christian Brabandt Date: Mon, 1 Dec 2025 20:02:10 +0000 (+0000) Subject: runtime(doc): clarify the use of v:errormsg X-Git-Tag: v9.1.1944~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3cfdefdeee3928671809a20f86ddc5d0fe4cc74;p=thirdparty%2Fvim.git runtime(doc): clarify the use of v:errormsg fixes: #18825 Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 0acd2e24b9..4f1b0b42f4 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 9.1. Last change: 2025 Nov 30 +*eval.txt* For Vim version 9.1. Last change: 2025 Dec 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2381,8 +2381,8 @@ v:echospace Number of screen cells that can be used for an `:echo` message available above the last line. *v:errmsg* *errmsg-variable* -v:errmsg Last given error message. It's allowed to set this variable. - Example: > +v:errmsg Last error message that occurred (not neccessarily displayed). + It's allowed to set this variable. Example: > :let v:errmsg = "" :silent! next :if v:errmsg != ""