vim-patch:partial:f10911e: Update runtime files (#29936)

f10911e5db

Also cherry-pick E1142 and E1156 tags from Vim.

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2024-08-01 11:50:38 +08:00
committed by GitHub
parent 02eaf7c4c1
commit 2b4049719a
9 changed files with 42 additions and 11 deletions

View File

@ -268,12 +268,12 @@ function vim.fn.assert_exception(error, msg) end
--- <
--- If {msg} is empty then it is not used. Do this to get the
--- default message when passing the {lnum} argument.
---
--- *E1115*
--- When {lnum} is present and not negative, and the {error}
--- argument is present and matches, then this is compared with
--- the line number at which the error was reported. That can be
--- the line number in a function or in a script.
---
--- *E1116*
--- When {context} is present it is used as a pattern and matched
--- against the context (script name or function name) where
--- {lnum} is located in.