nvim-lua / lsp-status.nvim

Utility functions for getting diagnostic status and progress messages from LSP servers, for use in the Neovim statusline
MIT License
625 stars 41 forks source link

Customization with highlights #16

Open carlitux opened 3 years ago

carlitux commented 3 years ago

There is a way to configure the highlights for each block and inject separators.

Thanks for the plugin!

wbthomason commented 3 years ago

Are you asking for this feature for the out-of-the-box statusline component? That's really meant as an example upon which you can base your own statusline component (which could have highlights - currently, this plugin doesn't set any - and separators).

I'd be happy to accept a PR to add this customization to the out-of-the-box component if you'd like.

p00f commented 2 years ago

How would one do it? Doesn't the component return text?