1
0
mirror of https://github.com/helix-editor/helix.git synced 2024-12-22 16:01:54 +04:00
helix-mirror/runtime/queries/protobuf
Ryan Roden-Corrent c8e58304bf
Add textobject queries for protobuf grammar. ()
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 () 2021-11-03 12:00:52 +09:00
indents.scm Indentation rework () 2022-03-31 00:08:07 +09:00
injections.scm tree sitter comments injections () 2022-01-21 00:50:06 +09:00
textobjects.scm Add textobject queries for protobuf grammar. () 2024-01-08 03:08:41 +01:00