Skip to content

Commit 0514f28

Browse files
committed
[troff mode] Remove bogus MIME string
Issue codemirror#3869
1 parent 12168b2 commit 0514f28

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mode/meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
{name: "Tiki wiki", mime: "text/tiki", mode: "tiki"},
139139
{name: "TOML", mime: "text/x-toml", mode: "toml", ext: ["toml"]},
140140
{name: "Tornado", mime: "text/x-tornado", mode: "tornado"},
141-
{name: "troff", mime: "troff", mode: "troff", ext: ["1", "2", "3", "4", "5", "6", "7", "8", "9"]},
141+
{name: "troff", mime: "text/troff", mode: "troff", ext: ["1", "2", "3", "4", "5", "6", "7", "8", "9"]},
142142
{name: "TTCN", mime: "text/x-ttcn", mode: "ttcn", ext: ["ttcn", "ttcn3", "ttcnpp"]},
143143
{name: "TTCN_CFG", mime: "text/x-ttcn-cfg", mode: "ttcn-cfg", ext: ["cfg"]},
144144
{name: "Turtle", mime: "text/turtle", mode: "turtle", ext: ["ttl"]},

mode/troff/troff.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,5 @@ CodeMirror.defineMode('troff', function() {
8080
CodeMirror.defineMIME('text/troff', 'troff');
8181
CodeMirror.defineMIME('text/x-troff', 'troff');
8282
CodeMirror.defineMIME('application/x-troff', 'troff');
83-
CodeMirror.defineMIME('troff', 'troff');
8483

8584
});

0 commit comments

Comments
 (0)