0

I am using rust-tools and everything is working fine with inlay hints, diagnostics etc. The code actions are also working fine in that when I call the dialog on a line I get the options and can apply them just fine. The only issue is that I don't know when a code action is available so I would like to add something in the sign column that indicates the presence of available hover actions.

Dionysis
  • 804
  • 8
  • 25

1 Answers1

2

You can use nvim-lightbulb for this which shows up a little lightbulb in the sign-column like in IntelliJ if you can apply some actions.

TornaxO7
  • 1,150
  • 9
  • 24
  • Thank you for the suggestion. I did see this but on a first try it didn't work for me and was looking for setting it manually. If there is no answer I will accept this though – Dionysis May 21 '22 at 19:00
  • Does the plugin still doesn't work for you? – TornaxO7 May 21 '22 at 22:07
  • @Dionysis do you still need some help to make the plugin work? – TornaxO7 May 22 '22 at 09:51
  • I haven't had time to check yet so we shall see I am sure it will be a matter of tweaking the setup. Thank you for offering to help! – Dionysis May 22 '22 at 20:33
  • No problem, if you've got a problem, just ask it here or create an issue on its github-page. I'm sure that someone will help you. Happy vimming! c(^-^)c – TornaxO7 May 22 '22 at 22:41