Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

vim syntax highlight for PEG.js grammars

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 ftdetect
Octocat-spinner-32 syntax
Octocat-spinner-32 README.md
README.md

pegjs.vim

Syntax highlighting for PEGjs files in VIM.

Enough to be useful - feedback/patches welcome.

Usage

$ vim myAwesomeGrammar.pegjs
:syntax on
:setf pegjs

Installation

The easiest way is to install using pathogen.vim:

cd ~/.vim/bundle
git clone https://github.com/alunny/pegjs-vim

If you do not want to use pathogen. You can always install pegjs-vim in the normal manner by copying each directory to your ~/.vim directory. Make sure not to overwrite any existing directory of the same name and instead copy only the contents of the source directory to the directory of the same name in your ~/.vim directory.

Important

License

MIT

Something went wrong with that request. Please try again.