supporting sql codemirror mode