feat(client/text-note): add highlighting for batch files (closes #830)

This commit is contained in:
Elian Doran 2024-12-23 22:44:56 +02:00
parent 5153fb8aff
commit 064d270ff3
No known key found for this signature in database

View File

@ -31,7 +31,7 @@ const MIME_TYPES_DICT: MimeTypeDefinition[] = [
{ title: "ASN.1", mime: "text/x-ttcn-asn" },
{ title: "ASP.NET", mime: "application/x-aspx" },
{ title: "Asterisk", mime: "text/x-asterisk" },
{ title: "Batch file (DOS)", mime: "application/x-bat", codeMirrorSource: "libraries/codemirror/batch.js" },
{ title: "Batch file (DOS)", mime: "application/x-bat", highlightJs: "dos", codeMirrorSource: "libraries/codemirror/batch.js" },
{ title: "Brainfuck", mime: "text/x-brainfuck", highlightJs: "brainfuck" },
{ default: true, title: "C", mime: "text/x-csrc", highlightJs: "c" },
{ default: true, title: "C#", mime: "text/x-csharp", highlightJs: "csharp" },