Have the editor match the extension of saved files in order to determine how the syntax highlighter module behaves.