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

pear-tree wont delete auto created closing bracket after expansion

Open CyberMango opened this issue 5 years ago • 0 comments

After expanding a bracket by pressing enter (like {), if i input a closing bracket, it wont remove the bracket auto created by the plugin. I set g:pear_tree_repeatable_expand to 0 since that feature is a bit broken for my use cases.

I use neovim 4.3, but im pretty sure this bug happens on vim too.

How to reproduce:

  1. Download pear-tree.
  2. In your init.vim put let g:pear_tree_repeatable_expand=0
  3. Open neovim and type {<cr>}.

expected result: { }

actual result: { } }

Very annoying when i want to keep typing without leaving insert mode.

CyberMango avatar Jan 11 '20 19:01 CyberMango