Luminescence on the horseshoe nanolaser