kylechui / nvim-surround

Add/change/delete surrounding delimiter pairs with ease. Written with :heart: in Lua.
MIT License
2.92k stars 60 forks source link

Close matching paren enterd in search input #274

Closed esumerfd closed 8 months ago

esumerfd commented 8 months ago

Checklist

Neovim Version

: nvim -v NVIM v0.9.1 Build type: Release LuaJIT 2.1.0-beta3

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/Cellar/neovim/0.9.1/share/nvim"

Run :checkhealth for more info

Plugin Version

Tagged (Stable)

Minimal Configuration

require("nvim-surround").setup()

Sample Buffer

Empty search input buffer

Keystroke Sequence

/Foo(

Expected behavior

/Foo(

Actual behavior

/Foo()

Additional context

To search for a method I need to enter /Foo( to search for unmatched string

kylechui commented 8 months ago

Wrong plugin, you probably have some autopairs-style plugin installed that's autocompleting the end brace.