I found a bug in getbufvar(). With {varname} == "", it returns
the dictionary of variables which are local to the current buffer
instead of the buffer specified by {expr}. It should return the
dictionary for the latter buffer.
I wrote a patch to fix this bug. See the attached file.
--
To Vim, or not to Vim.
kana <http://whileimautomaton.net/>
> I found a bug in getbufvar(). With {varname} =3D=3D "", it returns
> the dictionary of variables which are local to the current buffer
> instead of the buffer specified by {expr}. It should return the
> dictionary for the latter buffer.
>
> I wrote a patch to fix this bug. See the attached file.
Thanks, I'll include it.
--
From "know your smileys":
% Bike accident. A bit far-fetched, I suppose; although...
o _ _ _
_o /\_ _ \\o (_)\__/o (_)
_< \_ _>(_) (_)/<_ \_| \ _|/' \/
(_)>(_) (_) (_) (_) (_)' _\o_
/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///