hello Andy and thanks for reply.
On Mon, Nov 09, 2009 at 06:33:24PM +0100, Andy Wokula wrote:
> It is possible, the second argument to map() must be a string:
> :h map()
> :let t = map(["foo", "bar"], '{v:val : 1}')
i tried this solution but the result is
[{'foo': 1}, {'bar': 1}]
when i expect
{'foo': 1, 'bar': 1 }
regards
marc
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---