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

di( sometimes deletes {} blocks #38

Open
RedBeard0531 opened this issue Oct 8, 2019 · 0 comments
Open

di( sometimes deletes {} blocks #38

RedBeard0531 opened this issue Oct 8, 2019 · 0 comments

Comments

@RedBeard0531
Copy link

Copying from compiler-explorer/compiler-explorer#1618

Describe the bug
di( is supposed to remove everything inside the innermost matching (), but sometimes (I don't know under what conditions) it deletes a {} block instead.

To Reproduce

 int  main() {
    int( 1 );
}

With the cursor on the 1, type di(. If you remove the space before the 1, this it does the right thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant