diff options
author | Ryan Roden-Corrent | 2024-01-08 02:08:41 +0000 |
---|---|---|
committer | GitHub | 2024-01-08 02:08:41 +0000 |
commit | c8e58304bf4b1b327067bd92ca6e3c9db897c572 (patch) | |
tree | 3c92b9ac7871d46d660005f375266aa1e3ad1504 /book | |
parent | 154d9b6ed1e24aa846784a55c9d8bc1ba9506c7e (diff) |
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); }`
Diffstat (limited to 'book')
-rw-r--r-- | book/src/generated/lang-support.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index d068f91c..ee01c403 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -128,7 +128,7 @@ | ponylang | ✓ | ✓ | ✓ | | | prisma | ✓ | | | `prisma-language-server` | | prolog | | | | `swipl` | -| protobuf | ✓ | | ✓ | `bufls`, `pb` | +| protobuf | ✓ | ✓ | ✓ | `bufls`, `pb` | | prql | ✓ | | | | | purescript | ✓ | ✓ | | `purescript-language-server` | | python | ✓ | ✓ | ✓ | `pylsp` | |