> **Describe the bug**
> 
> syntax is disabled when bufdo
> 
> **To Reproduce**
> 
> 1. `vim --clean /path/to/vim/src/if_*.c`
> 2. `:bufdo tab split`
> 3. `n`
> 
> **Expected behavior**
> 
> All buffers is enabled syntax
> 
> As far as I looked code, this is doing intentionally.

Correct, syntax is intentionally skipped, because it's very slow to do
that for every buffer encountered.  However, if a buffer remains visible
after the command is finished, then syntax should be applied.  If that's
not happening, please provide a failing test.


-- 
hundred-and-one symptoms of being an internet addict:
1. You actually wore a blue ribbon to protest the Communications Decency Act.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201908020857.x728vMv1013438%40masaka.moolenaar.net.

Raspunde prin e-mail lui