Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 753 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 753 Bytes

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