mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
lazy loading of eslint only for JS code
This commit is contained in:
@@ -142,7 +142,6 @@ const noteEditor = (function() {
|
||||
else if (currentNote.detail.type === 'code') {
|
||||
if (!codeEditor) {
|
||||
await requireLibrary(CODE_MIRROR);
|
||||
await requireLibrary(JS_LINT);
|
||||
|
||||
CodeMirror.keyMap.default["Shift-Tab"] = "indentLess";
|
||||
CodeMirror.keyMap.default["Tab"] = "indentMore";
|
||||
|
||||
Reference in New Issue
Block a user