A.J.Mechelynck wrote:
[...]
IU mentioned the VimEnter event, which is triggered at the very end of startup. It is of course possible that other scripts than your own will set up VimEnter autocommands to create new autocommands in their turn, but IMHO it is highly unlikely.
[...]

Oops, sorry, that one is _too_ late. But you can use a variant of the same (untested):

        augroup lastgroup
                au BufReadPre * call SetUpLateAutocommand()
        augroup END
        function SetUpLateAutocommand()
                au! lastgroup
                au BufReadPost * call AfterSkeletons()
        endfunction
        function AfterSkeletons()
        "
        " ... whatever ...
        "
        endfunction



Best regards,
Tony.

Reply via email to