sponsor Vim development Vim logo Vim Book Ad

abnf : Initial Augmented BNF syntax script

 script karma  Rating 91/25, Downloaded by 781  Comments, bugs, improvements  Vim wiki

created by
Matthew Daniel
 
script type
syntax
 
description
Provides basic ABNF syntax highlighting, modeled closely after the excellent BNF syntax script by Michael Brailsford. All errors are my responsibility, however.

I welcome feedback, comments or a new owner for this script. :-)
 
install details
 

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
abnf.vim 1.0.1 2006-06-06 6.0 Matthew Daniel Added support for marking extraneous whitespace not followed by an element. Since (sigh) ABNF seems to be whitespace sensitive, that could be a problem.

Added support for marking comments which are not part of a rule (i.e. at the beginning of a file).

Both of these new features may be enabled or disabled according to your preference.

The whitespace matching is enabled by default, but may be disabled via {{{let abnf_ignore_whitespace=1}}}.

The comments thing is disabled by default and may be enabled via {{{let abnf_strict=1}}}
abnf.vim 1.0.0 2006-06-04 6.0 Matthew Daniel Initial upload
ip used for rating: 3.14.141.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