mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-13 01:46:07 +00:00
html/kernel.js: don't set autoCloseBrackets
This commit is contained in:
parent
34493e3cde
commit
a8931ad7c1
@ -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');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user