Diffs Language Pack plugin for extended syntax highlighting

Adds syntax highlighting for languages outside the default diffs viewer set. For developers needing support for Shiki-compatible languages like Vue, Svelte, GraphQL, and more.

Read this when

  • You are installing, configuring, or auditing the diffs-language-pack plugin

Diffs Language Pack plugin

Extends syntax highlighting beyond the default languages included in the diffs viewer.

Distribution

  • Package: @openclaw/diffs-language-pack
  • Install route: npm; ClawHub: clawhub:@openclaw/diffs-language-pack

Surface

plugin

Added languages

The standard diffs plugin provides highlighting for the languages listed in Diffs. To get highlighting for a wider range of Shiki-compatible languages, add this language pack. Without it, unsupported files appear as unformatted text.

Supported languages include Astro, Vue, Svelte, MDX, GraphQL, Terraform/HCL, Nix, Clojure, Elixir, Haskell, OCaml, Scala, Zig, Solidity, Verilog/VHDL, Fortran, MATLAB, LaTeX, Mermaid, Sass/Less/SCSS, Nginx, Apache, CSV, dotenv, INI, and diff files.

Refer to Shiki languages for the full list of Shiki language identifiers and aliases.