summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/mode/troff
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/codemirror/mode/troff')
-rw-r--r--public/vendor/codemirror/mode/troff/troff.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/vendor/codemirror/mode/troff/troff.js b/public/vendor/codemirror/mode/troff/troff.js
index beca778e..86154b6e 100644
--- a/public/vendor/codemirror/mode/troff/troff.js
+++ b/public/vendor/codemirror/mode/troff/troff.js
@@ -77,6 +77,8 @@ CodeMirror.defineMode('troff', function() {
};
});
-CodeMirror.defineMIME('troff', 'troff');
+CodeMirror.defineMIME('text/troff', 'troff');
+CodeMirror.defineMIME('text/x-troff', 'troff');
+CodeMirror.defineMIME('application/x-troff', 'troff');
});