Skip to content

Commit 4a9fba3

Browse files
committed
delete mimetype highlighter; it can't be distinguished from path easily
1 parent 3c87a29 commit 4a9fba3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/languages/desktop.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ export default function(hljs) {
3939
relevance: 10
4040
};
4141

42-
const MIMETYPE_FORMAT = {
43-
className: 'type',
44-
match: /\b[a-zA-Z0-9_.+-]+\/[a-zA-Z0-9_.+-]+/,
45-
relevance: 0
46-
};
47-
4842
const KEY_VALUE_PAIR = {
4943
begin: /^[A-Za-z0-9_-]+(\[[A-Za-z0-9_@.]+\])?\s*=/,
5044
end: /$/,
@@ -64,7 +58,6 @@ export default function(hljs) {
6458
LITERALS,
6559
QUOTED_STRING,
6660
FIELD_CODES,
67-
MIMETYPE_FORMAT,
6861
{
6962
className: 'punctuation',
7063
match: /;/,

0 commit comments

Comments
 (0)