When calling getwinvar or gettabwinvar with an empty string as the
last argument it is supposed to return a dictionary of the values
defined in the specified window. This does not appear to be
documented in the help files but it is documented in a comment within
getwinvar in eval.c. The current code does not switch the window
before calling find_var_in_ht to get the dictionary so it always
returns the dictionary for the current window. The attached patch
switches the notion of curwin for all input instead of just when
retrieving a window local option.
-- Geoff Reedy
gettabwinvar-dict.patch
Description: Binary data