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 an option such that 'da}' can delete the , following }. #353

Open
1 task
gaoqiangks opened this issue Oct 7, 2024 · 0 comments
Open
1 task

Add an option such that 'da}' can delete the , following }. #353

gaoqiangks opened this issue Oct 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gaoqiangks
Copy link

Checklist

  • Have you read through :h nvim-surround to see if there might be any relevant information there?

Is your feature request related to a problem? Please describe.

This is mainly related to json files. For example, in a setting file in json, things may look like

{
    abc
},
{
    def
},
{
    ghi
},

In this case, if I want to delete the entry abc, I centainly want to delete the whole block, and the following ,.

Describe the solution you'd like

When the cursor is on abc, da} will delete the whole block and the following ,.

Additional context
Add any other context or screenshots about the feature request here.

@gaoqiangks gaoqiangks added the enhancement New feature or request label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant