Hello!

I've found strange behaviour in vim.

When doing "autocmd VimEnter * nested badd ..." syntax highlight work as
expected, means i see colors. I can use "bnext" and see colors in all badd'ed
files.

However if i do "autocmd VimEnter * nested source ..." and inside the file i
use badd, then there are no colors in buffers unless i run "edit ..." (this
can be done in the sourced file). When using bnext i don't see colors
(i.e. "syntax" returns "No Syntax items defined for this buffer).

I guess that some issue with autocomd's. Is there something that i miss? How
can i correctly add buffer in the file sourced in "autocmd VimEnter".

-- 
Michal Kurgan



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

Reply via email to