diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-18 22:24:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-18 22:24:22 +0200 |
commit | 6434fc574dfbde11461e70e5a62712370edf38e6 (patch) | |
tree | f815722df00d589059fba4aa574e49db7e597be7 /runtime | |
parent | 10e1d01aaf5504675fd9197c75d1da0de0e5b429 (diff) | |
download | vim-git-6434fc574dfbde11461e70e5a62712370edf38e6.tar.gz |
patch 8.2.1241: cannot use getbufinfo() as a methodv8.2.1241
Problem: Cannot use getbufinfo() as a method.
Solution: Support using getbufinfo() as a method. (closes #6458)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 38b2783da..5be18bd79 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -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} |