hudclark / grpc-nvim

Grpc Client for Neovim
MIT License
31 stars 1 forks source link

Tree sitter grammar for grpc files #4

Open antosha417 opened 1 year ago

antosha417 commented 1 year ago

Hey @hudclark! How you doing? I created a simple tree sitter grammar for *.grpc files. I wanted to combine bash and json treesitter grammars but didn't find a way to do it. So I extended bash grammar and copied json into it. We can now use it for syntax highlighting and arguments parsing.

What do you think about it? Should we give a link to the grammar in readme?

hudclark commented 1 year ago

That looks cool!

Feel free to open a PR that updates the readme with a link to your project - I'll happily merge.