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

Zig Language

by ziglang ST2/ST3

Zig language support for Sublime Text

Details

  • 1.0.0
  • github.​com
  • github.​com
  • 11 months ago
  • 52 minutes ago
  • 7 months ago

Installs

  • Total 156
  • Win 73
  • OS X 32
  • Linux 51
Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30
Windows 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 3 1 0 0 1 0 1 0 0 0 0 1 0 0
OS X 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 1 1 0 0 1 0 0 0 0 0 2 0 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 1 0 2 2 0 0 1 0 0 0 0 0 0 0 1 1

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.

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 ~/.config/sublime-text-3/.

LICENSE

Provided under an MIT License