aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorMichael Ennen <mike.ennen@gmail.com>2016-10-29 14:55:53 -0700
committerJames McCoy <jamessan@jamessan.com>2016-12-12 10:17:35 -0500
commita21c687661eac61702fe492264a3c9036bc62f41 (patch)
tree24de78cf23838fb9521b9f2cc73c6eca07be2e6c /runtime
parent2c4e92abea2244e033be0c7534685485cfb5ddc9 (diff)
downloadrneovim-a21c687661eac61702fe492264a3c9036bc62f41.tar.gz
rneovim-a21c687661eac61702fe492264a3c9036bc62f41.tar.bz2
rneovim-a21c687661eac61702fe492264a3c9036bc62f41.zip
Fixes.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index fd1c1f2cf2..585b016c7d 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -154,9 +154,6 @@ passed to the function. Example: >
This will invoke the function as if using: >
call myDict.Callback('foo')
-This is very useful when passing a function around, e.g. in the arguments of
-|ch_open()|.
-
Note that binding a function to a Dictionary also happens when the function is
a member of the Dictionary: >
@@ -164,8 +161,8 @@ a member of the Dictionary: >
call myDict.myFunction()
Here MyFunction() will get myDict passed as "self". This happens when the
-"myFunction" member is accessed. When making assigning "myFunction" to
-otherDict and calling it, it will be bound to otherDict: >
+"myFunction" member is accessed. When assigning "myFunction" to otherDict
+and calling it, it will be bound to otherDict: >
let otherDict.myFunction = myDict.myFunction
call otherDict.myFunction()
@@ -3588,7 +3585,7 @@ get({dict}, {key} [, {default}])
item is not available return {default}. Return zero when
{default} is omitted.
get({func}, {what})
- Get an item with from Funcref {func}. Possible values for
+ Get item {what} from Funcref {func}. Possible values for
{what} are:
'name' The function name
'func' The function