2
0
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:
MinRK 2014-03-17 17:32:12 -07:00
parent 05838b7c2e
commit 3c1fe84f52

View File

@ -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: "()[]{}"
}
};