An extension for VS Code that provides syntax highlighting for PEG.js and some of its variants.
- .peg-grammar for PEG.js grammar files that don't do syntax highlighting for initializer blocks.
- .pegjs for grammar files with JavaScript (ES6+) based initializer blocks.
- .pegcoffee for grammar files with CoffeeScript based initializer blocks.
The orignal syntax template was based on https://github.com/SrTobi/code-pegjs-language by Tobias Kahlert, but after the initial draft (not to mention learning more about VS Code Extensions and the Visual Studio Marketplace 😄) I rewrote it and added more syntax templates, based on: