From a8931ad7c19e25a5f31ef69fcb5521b8d6e65134 Mon Sep 17 00:00:00 2001 From: Vaibhav Sagar Date: Fri, 2 Aug 2019 12:36:34 -0400 Subject: [PATCH] html/kernel.js: don't set autoCloseBrackets --- html/kernel.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/html/kernel.js b/html/kernel.js index 68979075..a4dda8e7 100644 --- a/html/kernel.js +++ b/html/kernel.js @@ -23,7 +23,6 @@ define(['require', IPython.keyboard.keycodes.down = downArrow; // space IPython.CodeCell.options_default['cm_config']['mode'] = 'ihaskell'; - IPython.CodeCell.options_default['cm_config']['autoCloseBrackets'] = '()[]{}'; utils.requireCodeMirrorMode('haskell', function(){ // Create a multiplexing mode that uses Haskell highlighting by default but @@ -48,7 +47,6 @@ define(['require', // This is necessary, otherwise sometimes highlighting just doesn't happen. // This may be an IPython bug. c.code_mirror.setOption('mode', 'ihaskell'); - c.code_mirror.setOption('autoCloseBrackets', '()[]{}'); c.force_highlight('ihaskell'); } }