kylechui / nvim-surround

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

fix: Handle special characters for `getchar`. #170

Closed FelisNivalis closed 1 year ago

FelisNivalis commented 1 year ago

getchar returns a string for special keys ([ref](https://neovim.io/doc/user/builtin.html#getchar())). so ys + e.g. arrow keys will give some error messages.