mirror of
https://github.com/vim/vim.git
synced 2025-12-13 20:36:39 +01:00
runtime(doc): clarify the use of v:errormsg
fixes: #18825 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -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 != ""
|
||||
|
||||
Reference in New Issue
Block a user