cohama / lexima.vim

Auto close parentheses and repeat by dot dot dot...
995 stars 46 forks source link

lexima wont delete auto created closing bracket after expansion #96

Open CyberMango opened 4 years ago

CyberMango commented 4 years ago

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 use neovim 4.3, but im pretty sure this bug happens on vim too.

How to reproduce:

  1. Download lexima.
  2. Open neovim and type {\<cr>}.

expected result:

{
}

actual result:

{
}
}

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