cshuaimin / ssr.nvim

Treesitter based structural search and replace plugin for Neovim.
MIT License
933 stars 13 forks source link

bug: Add nil value check. #23

Open towry opened 1 year ago

towry commented 1 year ago

https://github.com/cshuaimin/ssr.nvim/blob/e5768511518a397fa712f26389ba30d0404990de/lua/ssr.lua#L214 Add nil value check.

nvim/lazy/ssr.nvim/lua/ssr.lua:214: attempt to index a nil value                     
stack traceback: