Friday, November 25, 2011

Re: Backporting script to vim 6.3 (need help)

Excerpts from Preben Randhol's message of Fri Nov 25 09:37:40 +0100 2011:
> Yes, thank you! That did the trick and now I understand why this line
> is not working in 6.3
> let l:indent_type = {'space': 0, 'tab': 0}
try :echo {'space': 0, 'tab': 0}

to make sure that dictionaries are supported. If this fails you have to
use the old syntax:

let g:foo{key} = xx
or such.

l: is no needed. vars are function local by default so you can try
removing it as well. Again - I can't test.

Marc Weber

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: