Swift mode for CodeMirror