Skip to content

Commit 4b0ae02

Browse files
committed
[shell mode] Allow strings to span lines
Closes codemirror#4902
1 parent 2fcce27 commit 4b0ae02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mode/shell/shell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ CodeMirror.defineMode('shell', function() {
102102
}
103103
escaped = !escaped && next === '\\';
104104
}
105-
if (end || !escaped) state.tokens.shift();
105+
if (end) state.tokens.shift();
106106
return style;
107107
};
108108
};

0 commit comments

Comments
 (0)