smjonas / inc-rename.nvim

Incremental LSP renaming based on Neovim's command-preview feature.
MIT License
637 stars 8 forks source link

Bug: incorrect highlights with rust-analyzer and multiple references on single line #47

Closed peaske7 closed 9 months ago

peaske7 commented 9 months ago

Hello! I love this plugin!

There seems to be an issue when renaming variables that are longer than the indent, as shown in the video.

https://github.com/smjonas/inc-rename.nvim/assets/44737273/ebdbd835-b819-40c0-b24f-79e145d59938

$ nvim --version
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3

My neovim config at the time of reporting this issue: https://github.com/DrPoppyseed/config/tree/a88db7befae3985fcfd9998b10cf6f11998ad82d/dot_config/nvim

smjonas commented 9 months ago

Thanks for reporting, should be fixed now :)