#PEGjs.tmbundle A **TextMate bundle** for **[PEG.js](http://pegjs.majda.cz/)** that contains *for the moment* the language grammar for syntax highlighting. Aims at working with **Sublime Text 2** too. A non compiled version in *tmLanguage* grammar is included. Any amelioration or correction is **welcome** as well as introduction of other features (snippet, ..). Inspired from [pegjs.vim](https://github.com/alunny/pegjs-vim). ## Installation ### TextMate ```bash $ mkdir -p ~/Library/Application\ Support/TextMate/Bundles $ cd ~/Library/Application\ Support/TextMate/Bundles $ git clone git@github.com:alexstrat/PEGjs.tmbundle.git PEGjs.tmbundle ``` ### Sublime Text With the [package manager](http://wbond.net/sublime_packages/package_control), look at **PEGjs**. Or : ```bash $ mkdir -p ~/Library/Application\ Support/Sublime\ Text\ 2/Packages $ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages $ git clone git@github.com:alexstrat/PEGjs.tmbundle.git PEGjs.tmbundle ```