https://github.com/lark-parser/vim-lark-syntax
Vim files needed to have syntax highlighting in python lark-parser files
https://github.com/lark-parser/vim-lark-syntax
Last synced: 10 months ago
JSON representation
Vim files needed to have syntax highlighting in python lark-parser files
- Host: GitHub
- URL: https://github.com/lark-parser/vim-lark-syntax
- Owner: lark-parser
- License: apache-2.0
- Created: 2020-09-16T15:21:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-10T06:59:53.000Z (about 2 years ago)
- Last Synced: 2025-01-05T07:15:07.505Z (11 months ago)
- Language: Vim Script
- Size: 62.5 KB
- Stars: 17
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-lark-syntax
Plugin to add syntax highlighting to grammar files of the python
package lark-parser.
Files must have extension **.lark**

## 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
- [x] Correct regex patterns highlight
+ [x] Disable highlight of **()[]{}** if they
are preceded by odd number of **\\**.
+ [x] Highlight **\***,**+**,**?**
- [x] Highlight **,** inside templates