kylechui / nvim-surround

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

Latest commit doesn't work at all #111

Closed languitar closed 2 years ago

languitar commented 2 years ago

Checklist

Describe the bug

Commit https://github.com/kylechui/nvim-surround/commit/306a92830ede75d7d3a48ba04c7e603b73c3f377 doesn't work at all. Keymaps are not registered at all. Going back to the previous commit makes this plugin work again.

kylechui commented 2 years ago

That is quite bizarre; I'll look into this as soon as I'm able to get to my computer. @languitar are you getting any errors? Or is everything just NOOP? Also please send the output of :verbose nmap ys (or equivalent).

languitar commented 2 years ago

That's weird. I have the feeling this was a packer error. Now after getting back to the main branch things still work on the most recent commit and I can't reproduce the error anymore. 🤷 So this issues probably wasn't related to nvim-surround. Sorry for the noise.

kylechui commented 2 years ago

No worries, glad to know it wasn't an error on my end haha 😌

archiif commented 2 years ago

I was having the same issue, I think running :PackerCompile fixed the issue, not so sure though.

kylechui commented 2 years ago

Hmm... that's quite strange. I'm about to (maybe in the next few days) release a massive update (see branch pattern-matching), so hopefully that branch fixes this, if it exists at all.