monaco-vim icon indicating copy to clipboard operation
monaco-vim copied to clipboard

di( sometimes deletes {} blocks

Open RedBeard0531 opened this issue 6 years ago • 0 comments

Copying from https://github.com/mattgodbolt/compiler-explorer/issues/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.

RedBeard0531 avatar Oct 08 '19 21:10 RedBeard0531