             sync_interval     : 750    # minimum time (in ms) between synchronizing text with hub. -- used in sync version below
 
             completions_size  : 20    # for tab completions (when applicable, e.g., for sage sessions)
+
+        #console.log("mode =", opts.mode)
 
         @project_id = @editor.project_id
         @element = templates.find(".salvus-editor-codemirror").clone()

    f90    : 'text/x-fortran'
    f95    : 'text/x-fortran'
    h      : 'text/x-c++hdr'
    html   : 'htmlmixed'
    java   : 'text/x-java'
    jl     : 'text/x-julia'

    md     : 'markdown'
    mysql  : 'text/x-sql'
    patch  : 'text/x-diff'
    gp     : 'text/pari'
    go     : 'text/x-go'
    pari   : 'text/pari'
    php    : 'php'
    py     : 'python'
    pyx    : 'python'
