Conversation
* provide a visual indication as lsp is waiting for async responses. It's especially helpful when a large file is being opened. * add a new custom variable `lsp-display-pending-async-request-via-spinner`
|
Could you capture a screenshot or a GIF? I'd love to see how it looks! :) |
Here you go! This is the :moon spinner. We have a few large files that could take more than 20 seconds so it'd be nice to have some visual indications. |
|
I'm a little concerned that language servers making many small asynchronous requests could cause the spinner to flash constantly. 🤔 I wonder if this feature might be more distracting than helpful. 😅 |
|
That's a valid concern. If I remember correctly spinner would delay the display of spinner for a little bit to minimize the flicker. Moreover there is a new config to turn on/off this feature (by default off). |
|
I'll leave it open for others to share their thoughts. ;) |
|
LGTM having it under a flag for now |
|
Merged with the latest master branch. I'd much appreciate it if someone can take a moment to review it. |
lsp-display-pending-async-request-via-spinner