Skip to content

Commit 8e600ad

Browse files
dkearnschrisbra
authored andcommitted
runtime(doc): Normalise heredoc end marker label at :help const
Match the name used at :help :let-heredoc, {endmarker}. closes: #18638 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent ef5bf58 commit 8e600ad

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

runtime/doc/eval.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3307,8 +3307,9 @@ text...
33073307
endif
33083308
END
33093309
< Results in: ["if ok", " echo 'done'", "endif"]
3310-
The marker must line up with "let" and the indentation
3311-
of the first line is removed from all the text lines.
3310+
The end marker must line up with "let" and the
3311+
indentation of the first line is removed from all the
3312+
text lines.
33123313
Specifically: all the leading indentation exactly
33133314
matching the leading indentation of the first
33143315
non-empty text line is stripped from the input lines.
@@ -3401,10 +3402,10 @@ text...
34013402
:cons[t] {var-name} = {expr1}
34023403
:cons[t] [{name1}, {name2}, ...] = {expr1}
34033404
:cons[t] [{name}, ..., ; {lastname}] = {expr1}
3404-
:cons[t] {var-name} =<< [trim] [eval] {marker}
3405+
:cons[t] {var-name} =<< [trim] [eval] {endmarker}
34053406
text...
34063407
text...
3407-
{marker}
3408+
{endmarker}
34083409
Similar to |:let|, but additionally lock the variable
34093410
after setting the value. This is the same as locking
34103411
the variable with |:lockvar| just after |:let|, thus: >

0 commit comments

Comments
 (0)