added autocommand for slim files