Get started
Diffs Language Pack plugin reference
Adds syntax highlighting for languages outside the default diffs viewer set.
Distribution
- Package:
@openclaw/diffs-language-pack - Install route: npm or ClawHub:
clawhub:@openclaw/diffs-language-pack
Surface
This plugin declares no channels, providers, commands, or contracts.
Added languages
The base diffs plugin already highlights the common languages documented in Diffs. Install this language pack when you want syntax highlighting for a broader set of Shiki-supported languages. If the pack is not installed, those files still render as readable plain text.
Examples 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
- diff files
See Shiki languages for Shiki's upstream language and alias catalog.
Was this useful?