diff options
author | James McCoy <jamessan@jamessan.com> | 2016-11-15 12:06:10 -0500 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2016-12-28 14:57:38 -0500 |
commit | 00466410701802214aba5c95f1cbb2e5086a37f5 (patch) | |
tree | 475ac94ef210e89b2a36deb9bbcfc0dbf212c7f0 /src/nvim/eval.lua | |
parent | 99a8cd3be0509e97b649edc1599bfb74bf2b4802 (diff) | |
download | rneovim-00466410701802214aba5c95f1cbb2e5086a37f5.tar.gz rneovim-00466410701802214aba5c95f1cbb2e5086a37f5.tar.bz2 rneovim-00466410701802214aba5c95f1cbb2e5086a37f5.zip |
vim-patch:7.4.2204
Problem: It is not easy to get information about buffers, windows and
tabpages.
Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan
Lakshmanan)
https://github.com/vim/vim/commit/b5ae48e9ffd3b8eb6ca4057de11f1bddcde8ce6f
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index a0671cac1f..980a8d2326 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -106,6 +106,7 @@ return { ['function']={args={1, 3}}, garbagecollect={args={0, 1}}, get={args={2, 3}}, + getbufinfo={args={0, 1}}, getbufline={args={2, 3}}, getbufvar={args={2, 3}}, getchar={args={0, 1}}, @@ -131,8 +132,10 @@ return { getqflist={}, getreg={args={0, 3}}, getregtype={args={0, 1}}, + gettabinfo={args={0, 1}}, gettabvar={args={2, 3}}, gettabwinvar={args={3, 4}}, + getwininfo={args={0, 1}}, getwinposx={}, getwinposy={}, getwinvar={args={2, 3}}, |