mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-01 07:13:28 +00:00
Split the diffs viewer Shiki language pack into an external publishable plugin. The diffs plugin keeps the default curated syntax set, while the new @openclaw/diffs-language-pack package carries the extended Shiki languages for npm and ClawHub distribution. The install metadata includes the external ClawHub spec, and the curated C# alias set keeps both c# and cs supported without the language pack. Co-authored-by: Dallin Romney <dallinromney@gmail.com>
10 lines
359 B
TypeScript
10 lines
359 B
TypeScript
import { definePluginEntry } from "./api.js";
|
|
import { registerDiffsLanguagePackPlugin } from "./src/plugin.js";
|
|
|
|
export default definePluginEntry({
|
|
id: "diffs-language-pack",
|
|
name: "Diff Viewer Language Pack",
|
|
description: "Adds syntax highlighting for languages outside the default diffs viewer set.",
|
|
register: registerDiffsLanguagePackPlugin,
|
|
});
|