mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
chore(code): integrate PHP support
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
"dependencies": {
|
||||
"@codemirror/commands": "6.8.1",
|
||||
"@codemirror/lang-markdown": "6.3.2",
|
||||
"@codemirror/lang-php": "6.0.1",
|
||||
"@codemirror/legacy-modes": "6.5.1",
|
||||
"@codemirror/search": "6.5.10",
|
||||
"@codemirror/view": "6.36.7",
|
||||
|
||||
@@ -112,7 +112,7 @@ const byMimeType: Record<string, (() => Promise<StreamParser<unknown> | Language
|
||||
"text/x-pascal": async () => (await import('@codemirror/legacy-modes/mode/pascal')).pascal,
|
||||
"text/x-perl": async () => (await import('@codemirror/legacy-modes/mode/perl')).perl,
|
||||
"text/x-pgsql": async () => (await import('@codemirror/legacy-modes/mode/sql')).pgSQL,
|
||||
"text/x-php": null,
|
||||
"text/x-php": async () => ((await import('@codemirror/lang-php')).php()),
|
||||
"text/x-pig": async () => (await import('@codemirror/legacy-modes/mode/pig')).pig,
|
||||
"text/x-plsql": async () => (await import('@codemirror/legacy-modes/mode/sql')).plSQL,
|
||||
"text/x-properties": async () => (await import('@codemirror/legacy-modes/mode/properties')).properties,
|
||||
|
||||
Reference in New Issue
Block a user