diff options
author | Scott Prager <splinterofchaos@gmail.com> | 2014-09-13 14:32:32 -0400 |
---|---|---|
committer | Scott Prager <splinterofchaos@gmail.com> | 2014-09-13 18:28:32 -0400 |
commit | def28adfdd7a9ee643224e36f3f601f9f7222f46 (patch) | |
tree | 11123540c97d3eb7c4eca9bf62d1b4cd21cec3d1 /src/nvim/ex_docmd.c | |
parent | 1761a4af711410076e6fdb5f727a83ee54ff5988 (diff) | |
download | rneovim-def28adfdd7a9ee643224e36f3f601f9f7222f46.tar.gz rneovim-def28adfdd7a9ee643224e36f3f601f9f7222f46.tar.bz2 rneovim-def28adfdd7a9ee643224e36f3f601f9f7222f46.zip |
vim-patch:7.4.312
Problem: Cannot figure out what argument list is being used for a window.
Solution: Add the arglistid() function. (Marcin Szamotulski)
https://code.google.com/p/vim/source/detail?r=v7-4-312
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index dacd0f9e31..1117b6fbcf 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -5504,6 +5504,7 @@ void alist_new(void) { curwin->w_alist = xmalloc(sizeof(*curwin->w_alist)); curwin->w_alist->al_refcount = 1; + curwin->w_alist->id = ++max_alist_id; alist_init(curwin->w_alist); } |