[CodeMirror] Register extension

Change-Id: Ied243daab071999a3054d0c1fe59537dbc20fb99