passing config to codemirror from file