Go to the View menu Choose Syntax
From Syntax Select the appropriate syntax
From Syntax Choose Open all with current extension as… Select the appropriate syntax