bnf.vim : Highlight BNFs
script karma |
Rating 34/18,
Downloaded by 3584 |
Comments, bugs, improvements
|
Vim wiki
|
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. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|