Plugin to add syntax highlighting to grammar files of the python package lark-parser.
Files must have extension .lark
Clone this repository to your own vim plugins folder
cd your_vim_plugin_path; git clone https://github.com/lark-parser/vim-lark-syntax
Probably add to your .vimrc something like
MANAGER_NAME 'lark-parser/vim-lark-syntax'
- Correct regex patterns highlight
- Disable highlight of ()[]{} if they are preceded by odd number of \.
- Highlight *,+,?
- Highlight , inside templates