chore(code): integrate Twig support

This commit is contained in:
Elian Doran
2025-05-11 13:15:39 +03:00
parent 327fe211ff
commit 620927dfea
3 changed files with 17 additions and 19 deletions

View File

@@ -156,7 +156,7 @@ const byMimeType: Record<string, (() => Promise<StreamParser<unknown> | Language
"text/x-ttcn-asn": async () => (await import('@codemirror/legacy-modes/mode/ttcn')).ttcn,
"text/x-ttcn-cfg": async () => (await import('@codemirror/legacy-modes/mode/ttcn-cfg')).ttcnCfg,
"text/x-ttcn": async () => (await import('@codemirror/legacy-modes/mode/ttcn')).ttcn,
"text/x-twig": null,
"text/x-twig": async () => ((await import('@ssddanbrown/codemirror-lang-twig')).twig()),
"text/x-vb": async () => (await import('@codemirror/legacy-modes/mode/vb')).vb,
"text/x-verilog": async () => (await import('@codemirror/legacy-modes/mode/verilog')).verilog,
"text/x-vhdl": async () => (await import('@codemirror/legacy-modes/mode/vhdl')).vhdl,