mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Don't autoclose strings
CodeMirror doesn't do the right thing with triple-quoted strings, so don't let it try.
This commit is contained in:
parent
05838b7c2e
commit
3c1fe84f52
@ -102,7 +102,8 @@ var IPython = (function (IPython) {
|
||||
mode: 'ipython',
|
||||
theme: 'ipython',
|
||||
matchBrackets: true,
|
||||
autoCloseBrackets: true
|
||||
// don't auto-close strings because of CodeMirror #2385
|
||||
autoCloseBrackets: "()[]{}"
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user