lezer 把整个字符串当一个词,占位符另外扫一遍(shared/formatPlaceholder.ts),编辑器挂装饰、 静态代码拆 span,用同一份正则。Python 解析器补了几条 styleTags,编辑器和静态代码共用。 CodeEditor.vue 原来自己抄了一份语言选择,改成用 languageExtension。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lezer 把整个字符串当一个词,占位符另外扫一遍(shared/formatPlaceholder.ts),编辑器挂装饰、 静态代码拆 span,用同一份正则。Python 解析器补了几条 styleTags,编辑器和静态代码共用。 CodeEditor.vue 原来自己抄了一份语言选择,改成用 languageExtension。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>