Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.46 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.46 KB

Zen Language

Syntax highlighting for Zen.

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 Zen.YAML-tmLanguage. This file is read by linguist directly and used as the source to compile to Zen.tmLanguage using PackageDev from within Sublime. Do not edit Zen.tmLanguage directly.

Installation

Use Package control.

Or add Zen.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/zenlang/sublime-zen-language.git "/Users/$USER/Library/Application Support/Sublime Text 3/Packages/Zen 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