set aucmds to be in group so they only get set once per source
Move function to perl after ftplugin