monaco-vim
monaco-vim copied to clipboard
di( sometimes deletes {} blocks
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.