feat(mime): support KDL (closes #7848)

This commit is contained in:
Elian Doran
2025-11-24 18:06:24 +02:00
parent 9a2979e577
commit 95169bbc84
4 changed files with 102 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ const byMimeType: Record<string, (() => Promise<StreamParser<unknown> | Language
"application/sieve": async () => (await import('@codemirror/legacy-modes/mode/sieve')).sieve,
"application/sparql-query": async () => (await import('@codemirror/legacy-modes/mode/sparql')).sparql,
"application/typescript": async () => (await import('@codemirror/lang-javascript')).javascript({ typescript: true }),
"application/vnd.kdl": null,
"application/x-aspx": null,
"application/x-bat": async () => (await import("./languages/batch.js")).batch,
"application/x-cypher-query": async () => (await import('@codemirror/legacy-modes/mode/cypher')).cypher,