"A.J.Mechelynck" <[EMAIL PROTECTED]> wrote on 21/08/2006 (23:08) : > > The function definition must not be in a script or function which is > called from an autocommand which is triggered by opening a file for editing.
Ah! Thanks! I understand. I was testing the code by just adding it to my ftplugin script, I'll move this part of the code to a plugin script anyway so I expect that it then will work if I understand you correctly. Regards, Preben
