diff options
author | Jurica Bradaric <jbradaric@gmail.com> | 2016-02-28 10:38:42 +0100 |
---|---|---|
committer | Jurica Bradaric <jbradaric@gmail.com> | 2016-02-28 10:38:45 +0100 |
commit | de7165d3511225cf2323d81acd3724ee0379acad (patch) | |
tree | c76bda76383213e1bc14fd65c8a132b2f4f04386 | |
parent | 2af36df86d22ac18903f30b8543fedab0fb469be (diff) | |
download | rneovim-de7165d3511225cf2323d81acd3724ee0379acad.tar.gz rneovim-de7165d3511225cf2323d81acd3724ee0379acad.tar.bz2 rneovim-de7165d3511225cf2323d81acd3724ee0379acad.zip |
eval: Update documentation.
Extracted from vim-patch:da440d21a6b94d7f525fa7be9b1417c78dd9aa4c
-rw-r--r-- | runtime/doc/eval.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 5dbef81748..c478a217c1 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -916,6 +916,11 @@ just above, except that indexes out of range cause an error. Examples: > Using expr8[expr1] or expr8[expr1a : expr1b] on a |Funcref| results in an error. +Watch out for confusion between a namespace and a variable followed by a colon +for a sublist: > + mylist[n:] " uses variable n + mylist[s:] " uses namespace s:, error! + expr8.name entry in a |Dictionary| *expr-entry* |