diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-10-25 12:32:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-10-25 12:32:11 +0200 |
commit | e6e3989c1b3f18907a0c305712b867e9a3821369 (patch) | |
tree | 4809dda0c07ac5d06047b9c474d6507cf1fa68b0 /src/proto/eval.pro | |
parent | bf9679ae4684cb0c4e6ef2c24da0f83955d53e57 (diff) | |
download | vim-git-e6e3989c1b3f18907a0c305712b867e9a3821369.tar.gz |
patch 8.1.0493: argv() and argc() only work on the current argument listv8.1.0493
Problem: argv() and argc() only work on the current argument list.
Solution: Add a window ID argument. (Yegappan Lakshmanan, closes #832)
Diffstat (limited to 'src/proto/eval.pro')
-rw-r--r-- | src/proto/eval.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/eval.pro b/src/proto/eval.pro index 37170a2f0..03c650641 100644 --- a/src/proto/eval.pro +++ b/src/proto/eval.pro @@ -111,6 +111,7 @@ void ex_echo(exarg_T *eap); void ex_echohl(exarg_T *eap); void ex_execute(exarg_T *eap); win_T *find_win_by_nr(typval_T *vp, tabpage_T *tp); +win_T *find_win_by_nr_or_id(typval_T *vp); win_T *find_tabwin(typval_T *wvp, typval_T *tvp); void getwinvar(typval_T *argvars, typval_T *rettv, int off); void setwinvar(typval_T *argvars, typval_T *rettv, int off); |