change codemirror options