You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no proto2 support (also no support Editions but this is not supported anywhere so out of scope for now)
different grammar than nvim leads to fragmentation
neither of the grammars' feature sets is a superset of the other one --> upstream work needed
inconsistent language identifier (proto vs protobuf)
Plan of action
agree with @yusdacra and @treywood on a unification plan. Probably consolidating on treywood/tree-sitter-proto is easier because its network graph is larger (e.g it's used by nvim-treesitter).
oneofBody, serviceBody and rpcBody are missing. You can use oneof, service and rpc instead, but this probably leads to some regressions. Not sure if there is a severe enough case to block on this. I noticed a difference with declarations like this in hybrid indent heuristic, but they actually both misbehave.
Created a draft PR for now, to provide some time for feedback from other proto users. Please let me know if you see any issues (in particular @yusdacra, in case you still use protos regularly).
I'm planning to work on this, so feel free to assign (I don't have permissions).
Current situation:
19c211a01434d9f03efff99f85e19f967591b175
Problems of current situation:
proto
vsprotobuf
)Plan of action
proto
identifier)Analysis of missing features
Features missing for highlights.scm:
mapName
,extendName
,fieldName
andenumVariantName
optionName
- this is fixed in thefixups
branch but needs merging into mainFeatures missing for indents.scm:
oneofBody
,serviceBody
andrpcBody
are missing. You can useoneof
,service
andrpc
instead, but this probably leads to some regressions. Not sure if there is a severe enough case to block on this. I noticed a difference with declarations like this inhybrid
indent heuristic, but they actually both misbehave.Features missing for textobjects.scm:
serviceBody
The text was updated successfully, but these errors were encountered: