We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fcea3d commit 92b908eCopy full SHA for 92b908e
mode/simple-mode.js
@@ -110,7 +110,7 @@ function tokenFunction(states) {
110
111
function indentFunction(states, meta) {
112
return function(state, textAfter) {
113
- if (state.indent == null || meta.dontIndentStates && meta.doneIndentState.indexOf(state.state) > -1)
+ if (state.indent == null || meta.dontIndentStates && meta.dontIndentStates.indexOf(state.state) > -1)
114
return null
115
116
var pos = state.indent.length - 1, rules = states[state.state];
0 commit comments