Hi Benji!

On Fr, 20 Mär 2015, Benji Fisher wrote:

> Is this the expected behavior?  If an autocommand pattern contains several
> parts, and a file matches more than one of them, then the autocommand is
> executed more than once.  For example, if I add this to my vimrc file
> 
> let foo_count = 0
> augroup Foo
> au Bufread,BufEnter *foo*,*bar* let foo_count += 1
> augroup END

I think, this is the same as:
> au Bufread,BufEnter *foo* let foo_count += 1
> au Bufread,BufEnter *bar* let foo_count += 1

So I would think this is expected.

Best,
Christian
-- 
Man kann sich das menschliche Geschlecht als einen Polypen denken, so
kommt man schon auf mein System von Seelenwanderung.
                -- Georg Christoph Lichtenberg

-- 
-- 
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to