1
0
forked from aniani/vim

patch 8.2.1241: cannot use getbufinfo() as a method

Problem:    Cannot use getbufinfo() as a method.
Solution:   Support using getbufinfo() as a method. (closes #6458)
This commit is contained in:
Bram Moolenaar
2020-07-18 22:24:22 +02:00
parent 10e1d01aaf
commit 6434fc574d
4 changed files with 10 additions and 2 deletions

View File

@@ -4929,8 +4929,11 @@ getbufinfo([{dict}])
<
To get buffer-local options use: >
getbufvar({bufnr}, '&option_name')
<
Can also be used as a |method|: >
GetBufnr()->getbufinfo()
<
*getbufline()*
getbufline({expr}, {lnum} [, {end}])
Return a |List| with the lines starting from {lnum} to {end}