Mohsin wrote:
I am trying to use the ':py' interface to evaluate text under cursor
and show
the result in a balloon text. I got the python and vim code to work
easily,
however I have problem communicating between the two (py and vim):
1. How do I access vim variables in py commands
(like text under cursor, all the 'let variables', 'set options')?
[...]
Maybe this thread could be helpful, they are talking about vim.eval()
function and looks like it could be used to get variable values, even
arrays.
http://groups.yahoo.com/group/vimdev/message/41394