aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJurica Bradaric <jbradaric@gmail.com>2019-10-12 23:47:00 +0200
committerJurica Bradaric <jbradaric@gmail.com>2019-10-13 11:54:54 +0200
commit3b894b1cb18a9d4e399ab5b55004767f63a384c3 (patch)
tree9093a6f6d1b746ece719e71a0ca1c10b4697a710 /runtime
parentfcc24d0df3b1a6bde82c0e5b90f1392639f3fa5b (diff)
downloadrneovim-3b894b1cb18a9d4e399ab5b55004767f63a384c3.tar.gz
rneovim-3b894b1cb18a9d4e399ab5b55004767f63a384c3.tar.bz2
rneovim-3b894b1cb18a9d4e399ab5b55004767f63a384c3.zip
vim-patch:8.1.1723: heredoc assignment has no room for new features
Problem: Heredoc assignment has no room for new features. (FUJIWARA Takuya) Solution: Require the marker does not start with a lower case character. (closes vim/vim#4705) https://github.com/vim/vim/commit/24582007294b0db3be9669d3b583ea45fc4f19b8
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 8cdaef007c..77b6ee24a4 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -9779,19 +9779,18 @@ This does NOT work: >
Like above, but append/add/subtract the value for each
|List| item.
- *:let=<<* *:let-heredoc* *E990* *E991*
+ *:let=<<* *:let-heredoc*
+ *E990* *E991* *E172* *E221*
:let {var-name} =<< [trim] {marker}
text...
text...
{marker}
Set internal variable {var-name} to a List containing
the lines of text bounded by the string {marker}.
- {marker} must not contain white space.
+ {marker} cannot start with a lower case character.
The last line should end only with the {marker} string
without any other character. Watch out for white
space after {marker}!
- If {marker} is not supplied, then "." is used as the
- default marker.
Without "trim" any white space characters in the lines
of text are preserved. If "trim" is specified before