Skip to content

Commit 29fbbac

Browse files
committed
[stex mode] Add lineComment property
Closes #2851
1 parent 822248b commit 29fbbac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mode/stex/stex.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ CodeMirror.defineMode("stex", function() {
251251
},
252252
token: function(stream, state) {
253253
return state.f(stream, state);
254-
}
254+
},
255+
lineComment: "%"
255256
};
256257
});
257258

0 commit comments

Comments
 (0)