ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Zig Language

by ziglang ST2/ST3

Zig language support for Sublime Text

Details

Installs

  • Total 406
  • Win 189
  • OS X 92
  • Linux 125
Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4
Windows 0 0 0 0 0 0 2 1 0 2 0 0 0 1 1 3 3 1 0 1 0 0 0 1 1 1 0 0 0 1 0 2 0 0 2 1 0 1 0 1 0 2 2 3 1 2
OS X 0 0 2 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 2 0 0 0 0 0 1 1 0 1 2 0 0 2 0 0 0 1
Linux 0 1 0 0 0 0 0 1 1 0 0 2 1 0 2 0 0 0 2 1 2 0 0 0 2 0 0 0 3 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Zig Language

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 Zig.tmLanguage using PackageDev from within Sublime. Do not edit Zig.tmLanguage directly.

Installation

Use Package control.

Or add 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.

Local Development

Install https://github.com/SublimeText/PackageDev.

Clone or copy this repository to your local Sublime Text folder. e.g.

git clone https://github.com/ziglang/sublime-zig-language.git "/Users/$USER/Library/Application Support/Sublime Text 3/Packages/Zig Language"

Edit the YAML entry and use the Convert (YAML, JSON, PList) to... command to generate the other entries. Sublime Text will automatically reload the plugin, showing changes in the build system, syntax highlighting, etc.

On Linux, this is located under ~/.config/sublime-text-3/.

LICENSE

Provided under an MIT License