helix-mirror/runtime/queries/protobuf
Ryan Roden-Corrent c8e58304bf
Add textobject queries for protobuf grammar. (#9184)
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); }`
2024-01-08 03:08:41 +01:00
..
highlights.scm Updated tree-sitter query scopes (#896) 2021-11-03 12:00:52 +09:00
indents.scm Indentation rework (#1562) 2022-03-31 00:08:07 +09:00
injections.scm tree sitter comments injections (#1527) 2022-01-21 00:50:06 +09:00
textobjects.scm Add textobject queries for protobuf grammar. (#9184) 2024-01-08 03:08:41 +01:00