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 vim/vim#6458)
6434fc574d
This commit is contained in:
Sean Dewar
2021-11-01 18:18:02 +00:00
parent 2c185a18cd
commit a0c7fff284
3 changed files with 7 additions and 2 deletions

View File

@@ -4701,7 +4701,9 @@ getbufinfo([{dict}])
<
To get buffer-local options use: >
getbufvar({bufnr}, '&option_name')
<
Can also be used as a |method|: >
GetBufnr()->getbufinfo()
<
*getbufline()*
getbufline({buf}, {lnum} [, {end}])