aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
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 /src/nvim/eval.lua
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 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 3e4219c992..78f384a08c 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -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'