lualine.nvim/lua/lualine
Shadman 37a314b9e3
feat: add support for dynamic color with functions in color options (#566)
* feat: allow functions in color options.

* update_evilline

* docs: document color functions

* remove unnecesery stuff

* add dynamic color supoort for themes

* chore: autogen (vimdocs+formating)

* fix dynamic colors not working as color fallback

* fix transitional separators not updating for dynamic colors dynamic colors

* fix failing tests

* apply format

* Allow cases where theme doesn't even define nornal color for some mode

* allow color function to return nil

* some enhancements

* more enhancements

* code cleanup

* if we don't have even normal in theme we should just nvim highlight it with it's ususal stl colors

* not sure how it get here . It should be in different pr

* keep only c of lualine_c in component section name

* use sh to run docgen

* fix filetype component not respecting color option properly

* fix section x,y,z not falling back to correct colors

* auto format

* actually fix xyz not falling back to correct mode

* fix comp sep not correctly removed properly on function hl

* pass only section in color fn

* more enhancements

* update docs

* update create_comp_hl call locations

* enhancements+fixes

* fix broken hls in tabline

* Fix function color options not inheriting right colors

* some enhancements

* fix tests

* tweek docs

Co-authored-by: shadmansaleh <shadmansaleh@users.noreply.github.com>
2022-03-02 19:37:08 +06:00
..
components feat: add support for dynamic color with functions in color options (#566) 2022-03-02 19:37:08 +06:00
extensions Extension for aerial.nvim (#572) 2022-02-06 13:23:59 +06:00
themes feat: ayu adaptive background (#584) 2022-02-21 08:05:43 +06:00
utils feat: add support for dynamic color with functions in color options (#566) 2022-03-02 19:37:08 +06:00
component.lua feat: add support for dynamic color with functions in color options (#566) 2022-03-02 19:37:08 +06:00
config.lua chore: Use paranthesis for function calls. No paran can trip new lua users 2022-01-02 17:38:39 +06:00
highlight.lua feat: add support for dynamic color with functions in color options (#566) 2022-03-02 19:37:08 +06:00