diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-11-01 17:49:43 +0000 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-11-26 18:53:11 +0000 |
commit | 6bc9af43ceaf10992982369c74ac073072562068 (patch) | |
tree | 7868c2fc878cda6e9176af785ceb1ba0e3d85082 /runtime | |
parent | 60f0e1858870849fa5d6ed56ea40dc0183fab77d (diff) | |
download | rneovim-6bc9af43ceaf10992982369c74ac073072562068.tar.gz rneovim-6bc9af43ceaf10992982369c74ac073072562068.tar.bz2 rneovim-6bc9af43ceaf10992982369c74ac073072562068.zip |
vim-patch:8.2.0871: cannot use getmarklist() as a method
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 vim/vim#6176)
https://github.com/vim/vim/commit/f17e7ea67a798d0aa45ce24ea80c9e21d5164326
The rest of this patch was ported in:
https://github.com/neovim/neovim/commit/a1ed941a7881122fda2fd48e71e890ed55e4d08e
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 385ecb3dc2..d71381347d 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5203,6 +5203,9 @@ getmarklist([{buf}]) *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 current window by |matchadd()| and the |:match| commands. |