codemirror prolog mode