summaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-01 14:14:44 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-01 14:14:44 +0200
commitf17e7ea67a798d0aa45ce24ea80c9e21d5164326 (patch)
tree6ee60025d1c4aa335d760d81fa211da0ed742eed /runtime/doc
parentad772a63ec3bc86fe9d53cba783812f53470a313 (diff)
downloadvim-git-f17e7ea67a798d0aa45ce24ea80c9e21d5164326.tar.gz
patch 8.2.0871: cannot use getmarklist() as a methodv8.2.0871
Problem: Cannot use getmarklist() as a method. Solution: Make getmarklist() work as a method. Add one to the column number to match getpos(). (Yegappan Lakshmanan, closes #6176)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index fb0b2a789..7582a2724 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -5385,6 +5385,8 @@ getmarklist([{expr}] *getmarklist()*
Refer to |getpos()| for getting information about a specific
mark.
+ Can also be used as a |method|: >
+ GetBufnr()->getmarklist()
getmatches([{win}]) *getmatches()*
Returns a |List| with all matches previously defined for the