Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom spinners #7820

Closed
willhansen opened this issue Aug 3, 2023 · 5 comments
Closed

Custom spinners #7820

willhansen opened this issue Aug 3, 2023 · 5 comments
Labels
C-enhancement Category: Improvements

Comments

@willhansen
Copy link

I'm tired of the default braille LSP spinner. I want a custom one.

Just a configuration option that lets me input a list of strings to cycle through.

  • I'd settle for one character spinners

  • Better would be arbitrary length spinners (allowing stuff like a braille dot doing a figure-8 through 3 braille characters)

  • Even better would be somehow incorporating colors into it. (Maybe similar to how colors are printed in zsh themes?)

Looks not too difficult to implement (if I'm not already missing an existing configuration option for it)

Relevant code I could find:

Might implement it myself.

@willhansen willhansen added the C-enhancement Category: Improvements label Aug 3, 2023
@woojiq
Copy link
Contributor

woojiq commented Aug 3, 2023

OT: I'd suggest you set lsp.display-messages to true and you won't need the spinner anymore.

@willhansen
Copy link
Author

I already have that, but I find the spinner useful as a "thinking..." indicator. Also for aesthetic reasons.

@pascalkuthe
Copy link
Member

I don't think these need to be configured . The spinner is just supposed to indicate that work is being done in the background (so it's clear the server is still working and hasn't crashed). The spinners are not even continuously animated) so it probably wound't look that good anyway.

We try to avoid adding too many config options and in this case the default is good enough to hardcode IMO.

@willhansen
Copy link
Author

I can certainly agree it's not worth it if the spinner isn't even continuous.

Was that a design decision, or just not worth the effort?

@pascalkuthe
Copy link
Member

pascalkuthe commented Aug 4, 2023

#6446 (comment)

Not worth the extra overhead and battery life cost. This could be made more performant by allowing partial invalidation in the rendering cise but that's a lot of work

@helix-editor helix-editor locked and limited conversation to collaborators Aug 4, 2023
@pascalkuthe pascalkuthe converted this issue into discussion #7828 Aug 4, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

3 participants