c8750a35e0
Some components like hostname, progress are so simple that the component class setup is just unnecessary boilerplate. Allowing them to be function simplifies things. With this you can put your regular component functions in ~/.config/nvim/lua/lualine/components/ folder and treat then as regular lualine components just like 'mode' or 'branch'. Hopefully this will help lualine plugins grow. |
||
---|---|---|
.. | ||
lualine | ||
tests | ||
lualine.lua | ||
lualine_require.lua |