Skip to content
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

Add _linting-in-progress_ (subtle) visual indicator in the statusline #60

Open
bew opened this issue May 21, 2021 · 2 comments
Open

Add _linting-in-progress_ (subtle) visual indicator in the statusline #60

bew opened this issue May 21, 2021 · 2 comments

Comments

@bew
Copy link
Owner

bew commented May 21, 2021

Since mypy (or other linters) can take some time (for mypy: until #58 is fixed though), it's not always clear if the linters runs are still in progress or not.

The indicator could be placed here, to avoid too much visual left/right flickers:
image

@bew
Copy link
Owner Author

bew commented May 22, 2021

See :h neomake-statusline and related functions

@bew
Copy link
Owner Author

bew commented Jul 2, 2021

Symbol ideas:

  • (a checkmark) for saying "everything is ok"
  • Either .. or a braille spinner?
    Example braille spinners:
    • ⣾ ⣽ ⣻ ⢿ ⡿ ⣟ ⣯ ⣷
    • ⠇ ⡆ ⣄ ⣠ ⢰ ⠸ ⠙ ⠋
    • ⡀ ⡄ ⡆⠇⠋ ⠙ ⠸ ⢰ ⢠ ⢀ ⢀ ⢠ ⢰ ⠸ ⠙ ⠋ ⠇ ⡆ ⡄ ⡀
      (spinning slowly, to avoid stealing my attention too much?)
  • Basic format E2 W4 to show error / warnings (after the run/spinner symbol if a job is still in progress)

Question: to make a spinner, how to trigger the statusline to re-calculate itself? can each segment have an independent update cycle? or do we need to calculate the the current time / do something 'complex' to know which spinner cycle to use?

@bew bew removed the for:editor label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant