Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 708 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 708 Bytes

About

Syntax highlighting for Labelled BNF, a variant of BNF used in the compiler construction tool bnfc.

Based on the vim script available at http://www.vim.org/scripts/script.php?script_id=1470. The script was extended with support for most of the syntax described in the LBNF reference.

Installation

Do any of the following:

  1. Use vim-plug and put

    Plug 'dkasak/lbnf.vim'

    in the vim-plug plugin section of your vimrc.

  2. Use another vim plugin manager.

  3. Install lbnf.vim manually in ~/.vim/syntax/ or equivalent.