aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-11-24 15:10:05 -0800
committerGitHub <noreply@github.com>2025-11-24 15:10:05 -0800
commit60c35cc4c7b713c27e8bfdd196cbee46cf050bbb (patch)
tree307e2f906917395739437545d39831cb2ae363c4 /runtime/lua/vim
parent01a9765035372830fa97b87f93c6aca72bd99494 (diff)
downloadrneovim-60c35cc4c7b713c27e8bfdd196cbee46cf050bbb.tar.gz
rneovim-60c35cc4c7b713c27e8bfdd196cbee46cf050bbb.tar.bz2
rneovim-60c35cc4c7b713c27e8bfdd196cbee46cf050bbb.zip
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])
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua13
1 files changed, 7 insertions, 6 deletions
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 *?[{`$\\%#'\"|!<
+--- <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'