| bnf.vim : Highlight BNFs 
 
 
  | script karma | Rating 34/18,
    Downloaded by 4112 | Comments, bugs, improvements | Vim wiki |  
 
script versions (upload new version)| created by |  | Michael Brailsford |  |  |  | script type |  | syntax |  |  |  | description |  | Pretty straight forward.  It highlights a BNF grammar definition.  Not too fancy, but it makes writing a BNF more pleasant.  You can see a screenshot of bnf.vim at http://students.cs.byu.edu/~mtb6/bnf_vim.png .  For more complex BNF grammar definitions, you may want to check out http://vim.sourceforge.net/script.php?script_id=545 which is an EBNF syntax file by Hans Fugal. |  |  |  | install details |  | Just put it in your ~/.vim/syntax directory and add an autocommand to load it up on all files ending with .bnf.  Something like "au bufreadpre,bufnewfile *.bnf set ft=bnf" will do nicely. |  |  |  
Click on the package to download.
 
ip used for rating: 216.73.216.155 |