m4xshen / autoclose.nvim

A minimalist Neovim plugin that auto pairs & closes brackets
MIT License
488 stars 13 forks source link

Add an option to not complete if the same character is "touched" #49

Open savchenko opened 8 months ago

savchenko commented 8 months ago

For example, typing " in this case shouldn't create a pair of "".

options = {
            touch_regex = "[%w(%[{]"*, -- * represents cursor
          }