aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/protobuf/textobjects.scm
Commit message (Collapse)AuthorAge
* Add textobject queries for protobuf grammar. (#9184)Ryan Roden-Corrent2024-01-08
Given `message Foo {string s = 1;}` - `mat` selects `message Foo {string s = 1}` - `mit` selects `{string s = 1;}` Given `service SearchService { rpc Search(Req) returns (Resp); } - `mit` or `mat` selects `Req` or `Resp` - `mif` or `maf` selects `rpc Search(Req) returns (Resp);` - `mit` selects { rpc Search(Req) returns (Resp); }` - `mat` selects `service SearchService { rpc Search(Req) returns (Resp); }`