> When I define a dictionary like this
>        let dict = { 1: 'v1', 2: 'v1'}
> it works fine.
> 
> However, when I define it like this:
>   let dict = { 1: 'v1',
>       2: 'v1'
>   }
> 
> I get an error.
> 
> What is my mistake?

Missing backslashes:

   :help line-continuation

-tim






--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to