Skip to content

Commit 7549397

Browse files
Leonyamarijnh
authored andcommitted
[jade and haskell-literate modes] Specify mode dependencies
1 parent e5a8791 commit 7549397

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mode/haskell-literate/haskell-literate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
return state.inCode ? {state: state.baseState, mode: baseMode} : null
3838
}
3939
}
40-
})
40+
}, "haskell")
4141

4242
CodeMirror.defineMIME("text/x-literate-haskell", "haskell-literate")
4343
})

mode/jade/jade.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ CodeMirror.defineMode('jade', function (config) {
583583
copyState: copyState,
584584
token: nextToken
585585
};
586-
});
586+
}, 'javascript', 'css', 'htmlmixed');
587587

588588
CodeMirror.defineMIME('text/x-jade', 'jade');
589589

0 commit comments

Comments
 (0)