Closed TroySigX closed 4 weeks ago
I notice that the second noti only shows up when I use copilot.lua alongside lsp. So I guess that the number of times notification shows up is the number of lsps configured for the buffer?
Your second comment was very helpful in understanding this, so thank you for that.
Yes, its notifying for each LSP configured for the buffer.
It would be better if it just notified once and listed the LSP's used for the buffer in the message.
How do the messages look for you now when its showing a second notification? I cant test since I dont have a subscription. I used to have it though but felt Chat Gpt was better. :)
I've updated with latest commit, and it looks like this:
Update now and see if the problem is fixed. The same notification about lsp activation is not allowed now if it occurs within 1 second of the previous one. But different notifications are still allowed within the time frame.
Fixed, thanks!
Steps to reproduce:
notify_user_on_venv_activation = true
andenable_cached_venvs = true
:VenvSelect
), an identical notification shows up again.