Ciaran McCreesh wrote:
> Probably a minor bug: doing :bufdo e turns off syntax 
> highlighting in hidden buffers.
> 
> for a in a.c b.c c.c ; do echo struct > $a ; done vim *.c 
> :set hidden :silent bufdo e 2<c-^>

I believe this unhappy behaviour is due to the following info from ':help 
bufdo':

  While this command is executing, the Syntax autocommand event
  is disabled by adding it to 'eventignore'.
  This considerably speeds up editing each buffer.

I have F12 mapped to :bnext and I patiently F12 my way through the list of 
files so
each is displayed at least once. Then I can do ':bufdo whatever' and the syntax
highlighting is good.

You could probably achieve the same result by turning syntax highlighting 
off/on.

John


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

Raspunde prin e-mail lui