On Mar 18, 8:25 am, Yakov Lerner <[email protected]> wrote:
> redir => var         | let var = 0         " (in a function) refers to
> local local var,
>                                                    " it's reserved
> name like 'count'
> Everything is consistent. Where do you see a problem ?
>

StarWing is saying that he does, in a function, "redir => var" and the
global var gets changed. He needs to use "redir => l:var" to make it
use the local var.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui