i've tried to do some experimentations... here's what i found. If i run vim and 
give the command


:au Syntax * echo expand("<amatch>")


the first time i load a file i get


"foo1.tpl" 36L, 1231C
smarty
Press ENTER or type command to continue


then i load another file and get


"foo2.tpl" 36L, 1231C
smarty
smarty
smarty
Press ENTER or type command to continue


and so on. any time a load another smarty file, the list of "smarty" gets 
longer. btw i'm not sure if what i see is the old output plus the new one or 
just the current value of "expand()".

so i'm one step closer to the cause of the problem, but i again have no clue 
how to proceed, because as far as i know the value of "<amatch>" is set only in 
fileio.c

 

-- 
-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui