mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
chore(code): add smart tab behaviour
This commit is contained in:
@@ -4,7 +4,7 @@ import type { Extension } from "@codemirror/state";
|
||||
|
||||
async function buildJavaScript(mimeType: string) {
|
||||
const { javascript, esLint } = await import('@codemirror/lang-javascript');
|
||||
const lint = (await import("./eslint.js")).lint;
|
||||
const lint = (await import("./extensions/eslint.js")).lint;
|
||||
const extensions: Extension[] = [ javascript() ];
|
||||
|
||||
const result = await lint(mimeType);
|
||||
|
||||
Reference in New Issue
Block a user