From de7165d3511225cf2323d81acd3724ee0379acad Mon Sep 17 00:00:00 2001 From: Jurica Bradaric Date: Sun, 28 Feb 2016 10:38:42 +0100 Subject: eval: Update documentation. Extracted from vim-patch:da440d21a6b94d7f525fa7be9b1417c78dd9aa4c --- runtime/doc/eval.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime') 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* -- cgit