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?
The scope name by itself can be used as a Dictionary. Thanks! – ivan Jul 08 '17 at 17:43