rebelot / heirline.nvim

Heirline.nvim is a no-nonsense Neovim Statusline plugin designed around recursive inheritance to be exceptionally fast and versatile.
MIT License
1.02k stars 40 forks source link

Add a lualine-style example #187

Closed linrongbin16 closed 7 months ago

linrongbin16 commented 7 months ago

Would you accept, that I want to submit PR to add a highly customized statusline, it looks close to lualine/airline/lightline?

It could give more example code to user, educate them how to use this plugin. Also show people what heirline can do.

Here's my heirline:

image

image

Code is here: https://github.com/linrongbin16/lin.nvim/pull/470/files#diff-e80bc0191eeb8f27cd694d6618e4c9b8e52ca91108ae3ec0374eeec7f3798d64

My heirline config can auto-generate theme based on current colorscheme, so it works for every colorscheme, instead of hard codes. And it has the best performance that I could do.