mitchellh / tree-sitter-proto

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

feat: support proto2 #5

Open gregorias opened 1 year ago

gregorias commented 1 year ago

Would you be open to supporting proto2 syntax? Right now even things like

syntax = "proto2";
import "annotations.proto";
option java_outer_classname = "IngestProto";

fail to parse completely (due to unexpected "proto2") leading to wrong highlighting in Neovim.

treywood commented 1 year ago

I just opened #6 🤞🏻