aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/vim_diff.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-09-30 10:56:05 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-09-30 10:56:05 -0400
commit463b24a951955a324edc093ac3d0509827f6fef2 (patch)
tree5028cd091b7ed7e699a5b99702294cd645ba9261 /runtime/doc/vim_diff.txt
parent622ec95c3f793a814b3e7c0ee697c959f5b77332 (diff)
parentb6fdb7bd0f33724e72f55e9b1ea62f79f26d94b7 (diff)
downloadrneovim-463b24a951955a324edc093ac3d0509827f6fef2.tar.gz
rneovim-463b24a951955a324edc093ac3d0509827f6fef2.tar.bz2
rneovim-463b24a951955a324edc093ac3d0509827f6fef2.zip
Merge pull request #3365 from ZyX-I/refactor-string
Make `...` occurrences in echo output more useful
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r--runtime/doc/vim_diff.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 3e18cdd762..de061d3828 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -75,6 +75,24 @@ are always available and may be used simultaneously in separate plugins. The
'encoding' cannot be changed after startup.
+|string()| and |:echo| behaviour changed:
+1. No maximum recursion depth limit is applied to nested container
+ structures.
+2. |string()| fails immediately on nested containers, not when recursion limit
+ was exceeded.
+2. When |:echo| encounters duplicate containers like >
+
+ let l = []
+ echo [l, l]
+<
+ it does not use "[...]" (was: "[[], [...]]", now: "[[], []]"). "..." is
+ only used for recursive containers.
+3. |:echo| printing nested containers adds "@level" after "..." designating
+ the level at which recursive container was printed: |:echo-self-refer|.
+ Same thing applies to |string()| (though it uses construct like
+ "{E724@level}"), but this is not reliable because |string()| continues to
+ error out.
+
==============================================================================
4. New Features *nvim-features-new*