pear-tree icon indicating copy to clipboard operation
pear-tree copied to clipboard

Closing bracket seems to disappear after pressing enter

Open Nil-Cipher opened this issue 4 years ago • 1 comments

Hello, I'm new to all this, but the auto-completed closing bracket disappears if I press enter while the cursor is in between the brackets. Is this supposed to happen, and how do I prevent it?

Nil-Cipher avatar May 01 '20 23:05 Nil-Cipher

Note that the closing pair disappears after pressing <CR>. This is required to not break dot-repeat, but it will be automatically restored later.

Quoting from the README here.

you can prevent erasing the closing string by setting g:pear_tree_repeatable_expand to 0.

0xMH avatar May 20 '20 23:05 0xMH