diff --git a/package.json b/package.json index f4b0d99..a677a91 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "registry": "https://registry.npmjs.org" }, "license": "MIT", - "version": "2.3.0", + "version": "2.3.1", "packageManager": "pnpm@9.0.6", "scripts": { "update:config": " pnpm ts-node scripts/generateConfig.ts", diff --git a/packages/lang-tiddlywiki/package.json b/packages/lang-tiddlywiki/package.json index aeaa802..0c5bb87 100644 --- a/packages/lang-tiddlywiki/package.json +++ b/packages/lang-tiddlywiki/package.json @@ -1,6 +1,6 @@ { "name": "lang-tiddlywiki", - "version": "2.2.2", + "version": "2.3.1", "description": "", "scripts": { "build": "cm-buildhelper src/tiddlywiki.ts" diff --git a/src/tiddlywiki-codemirror-6/config/index.ts b/src/tiddlywiki-codemirror-6/config/index.ts index 0eff9c8..835679d 100644 --- a/src/tiddlywiki-codemirror-6/config/index.ts +++ b/src/tiddlywiki-codemirror-6/config/index.ts @@ -163,27 +163,29 @@ export const tiddlers = defineConfig({ // en: 'Match Text' // } // }, - // commentComplete: { - // caption: { - // zh: '注释中开启补全', - // en: 'Comment Complete' - // }, - // description: { - // zh: '注释中开启补全', - // en: 'Comment Complete' - // } - // }, - // debug: { - // caption: { - // zh: '调试(实验性)', - // en: 'Debug(experimental)' - // }, - // icon: '🐞', - // description: { - // zh: '在控制台上显示 codemirror6 的日志', - // en: 'Sebug for codemirror on console' - // } - // }, + commentComplete: { + disable: true, + caption: { + zh: '注释中开启补全', + en: 'Comment Complete' + }, + description: { + zh: '注释中开启补全', + en: 'Comment Complete' + } + }, + debug: { + disable: true, + caption: { + zh: '调试(实验性)', + en: 'Debug(experimental)' + }, + icon: '🐞', + description: { + zh: '在控制台上显示 codemirror6 的日志', + en: 'Sebug for codemirror on console' + } + }, activateOnTyping: { caption: { zh: '开启自动补全', diff --git a/src/tiddlywiki-codemirror-6/plugin.info b/src/tiddlywiki-codemirror-6/plugin.info index 3aea252..c4c2be9 100644 --- a/src/tiddlywiki-codemirror-6/plugin.info +++ b/src/tiddlywiki-codemirror-6/plugin.info @@ -2,7 +2,7 @@ "title": "$:/plugins/oeyoews/tiddlywiki-codemirror-6", "name": "CodeMirror6", "description": "CodeMirror 6 editor", - "version": "2.3.0", + "version": "2.3.1", "core-version": ">=5.3.4", "list": "readme usage" } \ No newline at end of file