I'm on this branch for a while and there's already many changes, so I want to merge this to main branch. Note that some changes are not final and will be changed in next few months. Notable changes are:
Fixed #15. Now you can use $a == $a to match foo == foo but not foo == bar.
Prevent accidentally opening another file in the ssr window.
SSR window is now bound to the original window. Previously it was bound to original buffer. This means you can change the buffer shown in the original window and ssr.nvim will be refreshed. Note that I'm planning to make ssr.nvim able to search multiple files so SSR window may be changed to be global and not bound to a window.
The small confirmation window is now blocking. Which means nvim will wait for your input before do other things. This and previous changes make it possible to run ssr with quickfix :cfdo lua require('ssr').replace_confirm() .
The next major feature I want to work on is #13, because I'm not sure how other few will look like.
I'm on this branch for a while and there's already many changes, so I want to merge this to main branch. Note that some changes are not final and will be changed in next few months. Notable changes are:
$a == $a
to matchfoo == foo
but notfoo == bar
.:cfdo lua require('ssr').replace_confirm()
.The next major feature I want to work on is #13, because I'm not sure how other few will look like.