Merge pull request #1763 from gnestor/@-operator-codemirror

Include `@` operator in Codemirror ipython mode
This commit is contained in:
Thomas Kluyver 2016-09-14 11:40:18 +01:00 committed by GitHub
commit 83785e3533

View File

@ -24,7 +24,7 @@
}
}
pythonConf.name = 'python';
pythonConf.singleOperators = new RegExp("^[\\+\\-\\*/%&|\\^~<>!\\?]");
pythonConf.singleOperators = new RegExp("^[\\+\\-\\*/%&|@\\^~<>!\\?]");
if (pythonConf.version === 3) {
pythonConf.identifiers = new RegExp("^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*");
} else if (pythonConf.version === 2) {