mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Merge pull request #4985 from damianavila/closebrackets
Enable autoCloseBrackets in CodeMirror by default.
This commit is contained in:
commit
0117b587ab
@ -101,7 +101,8 @@ var IPython = (function (IPython) {
|
||||
},
|
||||
mode: 'ipython',
|
||||
theme: 'ipython',
|
||||
matchBrackets: true
|
||||
matchBrackets: true,
|
||||
autoCloseBrackets: true
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -299,6 +299,7 @@ class="notebook_app"
|
||||
<script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/addon/mode/overlay.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/addon/edit/matchbrackets.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/addon/edit/closebrackets.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/addon/comment/comment.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/mode/htmlmixed/htmlmixed.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/mode/xml/xml.js") }}" charset="utf-8"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user