We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ad16c commit 612db45Copy full SHA for 612db45
mode/python/python.js
@@ -85,9 +85,9 @@
85
86
// tokenizers
87
function tokenBase(stream, state) {
88
+ if (stream.sol()) state.indent = stream.indentation()
89
// Handle scope changes
90
if (stream.sol() && top(state).type == "py") {
- state.indent = stream.indentation()
91
var scopeOffset = top(state).offset;
92
if (stream.eatSpace()) {
93
var lineOffset = stream.indentation();
0 commit comments