Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add textobject queries for protobuf grammar. #9184

Merged
merged 1 commit into from
Jan 8, 2024

Commits on Dec 28, 2023

  1. 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); }`
    rcorre committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    688e019 View commit details
    Browse the repository at this point in the history