Hiya,

By default CodeMirror sets closing of ()[]{}''"" to auto. I thought that 
the new way of defining CodeMirror config options is to put them in 
$HOME/.jupyter/nbconfig/notebook.json, like this:

{

 "Notebook": {

   "Header": false,

   "Toolbar": false

 },

 "Cell": {

   "cm_config": {

     "lineNumbers": true,

     "autoCloseBrackets": false

   }

 }

}

lineNumbers is working but autoCloseBrackets is not. Any ideas why or how 
to tap into CodeMirror config options? I used to do this before 5.0 NB 
release in custom.js like:


require([
    'base/js/namespace',
    'base/js/events'],
    $([IPython.events]).on('app_initialized.NotebookApp', function() {

    IPython.CodeCell.options_default.cm_config.autoCloseBrackets = false;


}));


but that also is not working.


Cheers,


Milos.

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/3995993e-703b-448d-8ed8-0a1996aa23e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to