How do you spell idiom?

Idiom is correct.

It is spelt as idiom.