nvim-bnf

module
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2019 License: BSD-2-Clause

README

Nvim-BNF

NeoVim semantic syntax highlighting plugin for BNF grammar

Installation

In order to install one could use his or her favourite plugin manager like Plug. Surely, Golang workspace must be set up before. It could look something like on the following code snippet.

    call plug#begin('~/.config/nvim/plugged')
        Plug 'daskol/nvim-bnf', { 'do': 'go install ./cmd/nvim-nbg' }
    call plug#end()

Development

NeoVim requires manifest for remote plugins. There is no reason to write it manually since the plugin provides ability to generate manifest as follows.

    $ ./nvim-bnf --gen-manifest
    call remote#host#RegisterPlugin('nvim-bnf', '0', [
    \ {'type': 'autocmd', 'name': 'BufNewFile', ... },
    \ {'type': 'autocmd', 'name': 'BufRead', ... },
    \ ])

Directories

Path Synopsis
cmd
nvim-bnf
Tool nvim-bnf implement NeoVim MsgPack RPC and provides semantic syntax hightlighter for BNF.
Tool nvim-bnf implement NeoVim MsgPack RPC and provides semantic syntax hightlighter for BNF.
pkg
highlighting
Package highlighting contains provides NeoVim RPC client for syntax highlighting.
Package highlighting contains provides NeoVim RPC client for syntax highlighting.
logging
Package logging provides logging facility for the project.
Package logging provides logging facility for the project.
parser
Package bnf contains parser for BNF metalanguage.
Package bnf contains parser for BNF metalanguage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL