mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 15:19:56 +01:00
chore(code): integrate Vue support
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
"@codemirror/commands": "6.8.1",
|
||||
"@codemirror/lang-markdown": "6.3.2",
|
||||
"@codemirror/lang-php": "6.0.1",
|
||||
"@codemirror/lang-vue": "0.1.3",
|
||||
"@codemirror/legacy-modes": "6.5.1",
|
||||
"@codemirror/search": "6.5.10",
|
||||
"@codemirror/view": "6.36.7",
|
||||
|
||||
@@ -160,7 +160,7 @@ const byMimeType: Record<string, (() => Promise<StreamParser<unknown> | Language
|
||||
"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,
|
||||
"text/x-vue": null,
|
||||
"text/x-vue": async () => ((await import('@codemirror/lang-vue')).vue()),
|
||||
"text/x-webidl": async () => (await import('@codemirror/legacy-modes/mode/webidl')).webIDL,
|
||||
"text/x-xu": async () => (await import('@codemirror/legacy-modes/mode/mscgen')).xu,
|
||||
"text/x-yacas": async () => (await import('@codemirror/legacy-modes/mode/yacas')).yacas,
|
||||
|
||||
Reference in New Issue
Block a user