Skip to content

pear-tree wont delete auto created closing bracket after expansion #42

@TheResplandor

Description

@TheResplandor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions