sontungexpt / sttusline

A very lightweight, super fast and lazyloading statusline plugin for Neovim written in lua.
MIT License
107 stars 7 forks source link

colours #1

Closed mathjiajia closed 8 months ago

mathjiajia commented 8 months ago

Is it possible to use bg of hl group StatusLine as the bg colour?

sontungexpt commented 8 months ago

Is it possible to use bg of hl group StatusLine as the bg colour?

I don't quite understand your wish, can you explain it more clearly?

mathjiajia commented 8 months ago

could we override the colours defined in ./lua/sttusline/utils/color.lua?

sontungexpt commented 8 months ago

could we override the colours defined in ./lua/sttusline/utils/color.lua?

"Unfortunately, it is currently not possible. The highlight support of this plugin is still quite simple because I'm in exam season. May I ask whether you would like to adjust the color of the default components you created or create your own component? This way, I can assist you further.

mathjiajia commented 8 months ago

Reason: the current bg is different from my statusline so it looks ugly. I know that the colour for each component can be changed separately, but it will be great to set the colour in just one place.

Good luck with your exams

sontungexpt commented 8 months ago

Reason: the current bg is different from my statusline so it looks ugly. I know that the colour for each component can be changed separately, but it will be great to set the colour in just one place.

Good luck with your exams

You can migrate to table_version branch to do this, it may take you a little time

sontungexpt commented 8 months ago

Reason: the current bg is different from my statusline so it looks ugly. I know that the colour for each component can be changed separately, but it will be great to set the colour in just one place. Good luck with your exams

You can migrate to table_version branch to do this, it may take you a little time, this branch has more highlighting features than main branch, Hope you enjoy it!

mathjiajia commented 8 months ago

Thanks. It looks nice.