In order to test it, it has to be placed in /usr/share/katepart5/syntax/ or $HOME/.local/share/org.kde.syntax-highlighting/syntax/. Then, Zig sources should be detected automatically by editors that uses KDE’s text editor part.
Missing Features
keywords and other syntax are not auto generated from zig compiler introspection