summaryrefslogtreecommitdiffstats
path: root/runtime/doc/fold.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-02-26 12:25:45 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-26 12:25:45 +0000
commitc51cf0329809c7ae946c59d6f56699227efc9d1b (patch)
tree825302ef0857905dbf08dc584ef6d6a8aae27790 /runtime/doc/fold.txt
parente41c1dd8890d3f701253255993f4e9af2d12225c (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/fold.txt')
-rw-r--r--runtime/doc/fold.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/fold.txt b/runtime/doc/fold.txt
index 5bcadda654..cda3902525 100644
--- a/runtime/doc/fold.txt
+++ b/runtime/doc/fold.txt
@@ -507,7 +507,7 @@ Note the use of backslashes to avoid some characters to be interpreted by the
:function MyFoldText()
: let line = getline(v:foldstart)
: let sub = substitute(line, '/\*\|\*/\|{{{\d\=', '', 'g')
- : return v:folddashes . sub
+ : return v:folddashes .. sub
:endfunction
Evaluating 'foldtext' is done in the |sandbox|. The current window is set to