I knew you could scope a variable by prefixing it with g:
b:
, etc. but I only just discoverred that the prefix itself references a dictionary containing all the scoped variables. For example,
:echo b:c_minlines
50
and
:echo b:
{'c_minlines': 50, 'did_indent': 1, 'current_syntax': 'c', ...}
Is this documented somewhere?