zat is a syntax highlighting cat like utility using tree-sitter and with support for vscode themes
Find a file
2024-02-20 20:13:59 +01:00
src feat: add more useful message if no parser was found 2024-02-20 20:05:05 +01:00
.gitignore Initial release 2024-02-20 17:59:34 +01:00
build.zig Initial release 2024-02-20 17:59:34 +01:00
build.zig.version Add zig version helper script 2024-02-20 18:09:54 +01:00
build.zig.zon Add one dark theme 2024-02-20 19:41:43 +01:00
LICENSE Initial commit 2024-02-20 17:58:33 +01:00
README.md feat: add note about flow config to README.md 2024-02-20 20:13:59 +01:00
zig fix zig wrapper on macos 2024-02-20 18:31:44 +01:00

zat

zat is a syntax highlighting cat like utility.

It uses tree-sitter and supports for vscode themes.

Build with the provided zig wrapper:

./zig build -Doptimize=ReleaseFast

The zig wrapper just fetches a known good version of zig nightly and places it in the .cache directory. Or use your own version of zig.

Run with:

zig-out/bin/zat

Place it in your path for convinient access. You might want to strip it first.

Supply files to highlight on the command line. Multiple files will be appended like with cat. If no files are on the command line zat will read from stdin. Override the language with --lang and select a different theme with --theme. The default theme will be read from ~/.config/flow/config.json if found.

See --help for full command line.