> But your command gave me an idea -- the following should work
> 
>   au FileType *.* exe substitute(expand('<amatch>'),
>                   \              '^\(.*\)\.\(.*\)$',
>                   \              'doau FileType \1 | doau FileType \2',
>                   \              '')

Thankyou - this is the behaviour I was expecting.

Reply via email to