docs: vimdoc parsing errors #36681

Error: .tests/neovim/runtime/doc/dev_test.txt
    (MISSING "`" [420, 79] - [420, 79])
    Error: .tests/neovim/runtime/doc/news.txt
    (MISSING "`" [137, 80] - [137, 80])
    Error: .tests/neovim/runtime/doc/nvim.txt
    (MISSING "<" [106, 0] - [106, 0])
    Error: .tests/neovim/runtime/doc/vimfn.txt
    (MISSING "}" [2610, 26] - [2610, 26])
This commit is contained in:
Justin M. Keyes
2025-11-24 15:10:05 -08:00
committed by GitHub
parent 01a9765035
commit 60c35cc4c7
6 changed files with 24 additions and 22 deletions

View File

@@ -2957,12 +2957,13 @@ M.funcs = {
desc = [=[
Escape {string} for use as file name command argument. All
characters that have a special meaning, such as `'%'` and `'|'`
are escaped with a backslash.
For most systems the characters escaped are
" \t\n*?[{`$\\%#'\"|!<". For systems where a backslash
appears in a filename, it depends on the value of 'isfname'.
A leading '+' and '>' is also escaped (special after |:edit|
and |:write|). And a "-" by itself (special after |:cd|).
are escaped with a backslash. For most systems the characters
escaped are: >
\t\n *?[{`$\\%#'\"|!<
<For systems where a backslash appears in a filename, it
depends on the value of 'isfname'. A leading '+' and '>' is
also escaped (special after |:edit| and |:write|). And a "-"
by itself (special after |:cd|).
Returns an empty string on error.
Example: >vim
let fname = '+some str%nge|name'