mirror of
https://github.com/helix-editor/helix
synced 2024-11-10 10:34:45 +01:00
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); }`
10 lines
323 B
Scheme
10 lines
323 B
Scheme
(message (messageBody) @class.inside) @class.around
|
|
(enum (enumBody) @class.inside) @class.around
|
|
(service (serviceBody) @class.inside) @class.around
|
|
|
|
(rpc (enumMessageType) @parameter.inside) @function.inside
|
|
(rpc (enumMessageType) @parameter.around) @function.around
|
|
|
|
(comment) @comment.inside
|
|
(comment)+ @comment.around
|