That is it, thanks a lot!

2009/8/10, Michal Kurgan <[email protected]>:
>
> On Sun, 9 Aug 2009 12:42:52 -0700 (PDT)
> dsfdfsf <[email protected]> wrote:
>
>> There is problem, all opened buffers on VimEnter event  have no syntax
>> (syntax=[Empty]).
>>
>> [ ... ]
>>
>> Help me fellows!
>>
>
> I may be wrong but i think it is because autocommands are not recursive to
> prevent infinite chains of events. You can override this behaviour with
> nested specifier.
>
> :help autocmd
> :help autocmd-nested
>
> e.g.
> autocmd VimEnter * nested call s:LoadBuffers()
>
> Hope this helps.
>
> --
> Michal Kurgan
>
>
>
> >
>

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

Raspunde prin e-mail lui