mitchellh / tree-sitter-proto

A tree-sitter grammar for protocol buffer files (proto3).
MIT License
69 stars 22 forks source link

basic proto2 support #6

Closed treywood closed 1 year ago

treywood commented 1 year ago

adds support for some missing proto2 syntax:

this has been tested against Square's ~7.7k proto files which are all proto2.

nerdrew commented 1 year ago

Nice. This would be awesome to have.

treywood commented 1 year ago

@mitchellh if you're no longer interested in maintaining this repo (for nvim-treesitter at least) I could also update nvim-treesitter to use my fork and myself as the maintainer

treywood commented 1 year ago

with nvim-treesitter/nvim-treesitter#5185, the default proto parser in nvim-treesitter is my fork, which includes these changes.