Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit bcac085

Browse files
committed
do not eat spaces when inside string
1 parent f2abb85 commit bcac085

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codemirror/clojure-mode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ CodeMirror.defineMode("clojure", function () {
177177
}
178178

179179
// skip spaces
180-
if (stream.eatSpace()) {
180+
if (state.mode != "string" && stream.eatSpace()) {
181181
return null;
182182
}
183183
var returnType = null;

0 commit comments

Comments
 (0)