Syntax highlighting for Zig.
This repository serves both as the grammar for github/linguist (Github's site wide syntax highlighting) and as a standalone Sublime Text package.
The source of truth is
Zig.YAML-tmLanguage. This file is read by linguist
directly and used as the source to compile to
PackageDev from within Sublime. Do
Use Package control.
Zig.tmLanguage to the packages directory. On OSX This is usually
~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
But to find the path on your machine go to
Preferences > Browse Packages from
within Sublime Text.
Edit the YAML entry and use the
Convert (YAML, JSON, PList) to... command
to generate the other entries.
Copy the generated file to your local sublime text folder. e.g.
cp Zig.tmLanguage "/Users/jfo/Library/Application Support/Sublime Text 3/Packages/User/Zig.tmLanguage"
On linux, this is located under
Provided under an MIT License