lark-parser / vim-lark-syntax

Vim files needed to have syntax highlighting in python lark-parser files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-lark-syntax

Plugin to add syntax highlighting to grammar files of the python package lark-parser.

Files must have extension .lark

screenshot

Installation

Manual installation

Clone this repository to your own vim plugins folder

cd your_vim_plugin_path; git clone https://github.com/lark-parser/vim-lark-syntax

Plugin manager

Probably add to your .vimrc something like

MANAGER_NAME 'lark-parser/vim-lark-syntax'

TODO

  • Correct regex patterns highlight
    • Disable highlight of ()[]{} if they are preceded by odd number of \.
    • Highlight *,+,?
  • Highlight , inside templates

About

Vim files needed to have syntax highlighting in python lark-parser files

License:Apache License 2.0


Languages

Language:Vim Script 100.0%