From 60c35cc4c7b713c27e8bfdd196cbee46cf050bbb Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 24 Nov 2025 15:10:05 -0800 Subject: 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]) --- runtime/lua/vim/_meta/vimfn.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 04986c9b19..a540476931 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -2328,12 +2328,13 @@ function vim.fn.fmod(expr1, expr2) end --- 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 *?[{`$\\%#'\"|!< +--- ' 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' -- cgit