lark-parser / lark_syntax

Lark-flavoured EBNF grammar syntax definition for Sublime Text or TextMate
MIT License
16 stars 4 forks source link

syntax highlighting for vim #8

Open jisaacstone opened 4 years ago

jisaacstone commented 4 years ago

Just writing a note to let you know I threw together a very basic syntax highlighting script for vim, since that is the editor I use

https://github.com/jisaacstone/lark.vim

Doesn't have the fancy regex highlighting, but better'n nothing. Hopefully someone else can find it useful

sbellem commented 4 years ago

Thanks!

I wonder what happened to https://github.com/RobRoseKnows/lark-vim ...

@RobRoseKnows Could you say if there's any plan to pick up that initial work you did?

MegaIng commented 4 years ago

There is now another repo https://github.com/lark-parser/vim-lark-syntax, by @omega16. If you two have any suggestion, you can help improve that repo.

omega16 commented 4 years ago

I haven't found this! After check I have learn and change some things on repo!

I'm thinking of support other things (maybe omnicompletion function?) for vim and make it a complete plugin for lark. As @MegaIng says, feel free to ask/sugget/commit!

jisaacstone commented 4 years ago

hey @omega16. This was my first vim syntax file, so not very feature complete. I have another one here https://github.com/sfztools/sfz.vim that is more robust, including folding and simple dictionary completion. May or may not be useful? Take a look.

RobRoseKnows commented 3 years ago

Sorry I never replied. I never really finished the work I did on syntax highlighting.