AckslD / muren.nvim

Multiple replacements in neovim
361 stars 4 forks source link

Lsp rename #16

Open AckslD opened 1 year ago

AckslD commented 1 year ago

Could maybe be useful to have a more where instead of :s/ we use LSP rename.

Not sure exactly what the behaviour should be but maybe something like:

You find all matches of the users regex. You go-to-definition to all of them such that you only have one per variable definition. Then you run the LSP rename on all of them, or possibly let the user pick one/a subset. This would be for each line/pattern in the UI.