sponsor Vim development Vim logo Vim Book Ad

PEGJS.vim : syntax highlighting for PEG.js grammar files

 script karma  Rating 1/1, Downloaded by 1123  Comments, bugs, improvements  Vim wiki

created by
Andrew Lunny
 
script type
syntax
 
description
Syntax highlighting for peg-js files.

Details about PEG.js here: http://pegjs.majda.cz/

Code repository for this script: https://github.com/alunny/pegjs-vim
 
install details
Copy the script to your ~/.vim/syntax directory.

Then ":setf pegjs" in a file, or add "au BufRead,BufNewFile *.pegjs setfiletype pegjs" to your vimrc.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
pegjs.vim 3 2012-06-16 7.0 Andrew Lunny handle blocks inside blocks correctly
pegjs.vim 2 2012-06-16 7.0 Andrew Lunny support for single-line/inline comments
pegjs.vim 1 2012-06-16 7.0 Andrew Lunny Initial upload
ip used for rating: 3.135.217.228

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github