set codemirror mode based on shebang line