codemirror 3.18 with enabled the fullscreen addon
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
CodeMirror.defineMode("haskell", function() {
|
||||
CodeMirror.defineMode("haskell", function(_config, modeConfig) {
|
||||
|
||||
function switchState(source, setState, f) {
|
||||
setState(f);
|
||||
@@ -221,6 +221,10 @@ CodeMirror.defineMode("haskell", function() {
|
||||
"unwords", "unzip", "unzip3", "userError", "words", "writeFile", "zip",
|
||||
"zip3", "zipWith", "zipWith3");
|
||||
|
||||
var override = modeConfig.overrideKeywords;
|
||||
if (override) for (var word in override) if (override.hasOwnProperty(word))
|
||||
wkw[word] = override[word];
|
||||
|
||||
return wkw;
|
||||
})();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user