split completion by type