nvim-lualine / lualine.nvim

A blazing fast and easy to configure neovim statusline plugin written in pure lua.
MIT License
5.95k stars 462 forks source link

Feat: diagnostics: show OK logo if no error (+ WIP logo) #1105

Open lafleurdeboum opened 11 months ago

lafleurdeboum commented 11 months ago

Requested feature

The diagnostics widget does not print anything

It could print a "work-in-progress" logo while waiting for the diagnostics, and an "OK" logo when completed successfully.

Motivation

This would allow users to know in a glimpse

Indeed, as of now the UI is in the same state, wether a lint was successful or no lint was done whatsoever.

lafleurdeboum commented 10 months ago

Hey, I found the lualine-lsp-progress component on Github - it doesn't exactly solve this issue (it shows a spinner etc, but doesn't make lualine use an OK message on correct linting), but it certainly provides the means to do it. I think I'll get into it at some point.

lafleurdeboum commented 10 months ago

Oh, and there's also lsp-progress.nvim that integrates with lualine (same behaviour though), and its wiki describing how it works.