In my script, I am running a :bufdo command with eventignore=all because
of two main reasons:
- performs better as I am not triggering any events.
- doesn't interfere with plugins that deal with MRU buffer lists.

This however leaves a side effect after the command is run. All the
buffer go into some weird state, as when I open each of the buffers,
they don't show up any syntax highlighting, and I have to explicitly
reload each of them. This happens for all buffers individually, so it
sometimes becomes a pain to reload them, and this starts all over if I
have to run the script again. Is this behavior expected or is it a bug?
Can I somehow workaround this?

Yes, I do save and restore the old value of 'eventignore' in a
try/finally block.

-- 
Thank you,
Hari

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to