fac96d71cc
Huge change to internal mechanics. - Now %{%expr%} blocks are used for evaluating statusline instead of %!expr . Pros for this is statusline is evaluated on current win and buf context instead of active win & bufs context. - Now all components branch & diff(These two are cached) including users function components updates on inactive status. - now components update status and function components receive an argument (is_focused) when called. It indicates whether it's running for active or inactive statusline. - Now lualine no longer aggrasively takes over 'statusline' option. instead it sets the global version of statusline option. So it's possible to unset it to hide lualine . Or set buffer local version of that option to have different statusline then lualine on thay buffer - Switch vim.o to vim.go or vim.opt. - BugFix autcommands being set everytime an instence of diff or branch component is created - Added new utils functions define_autocmd & is_focused - Remove utils function lualine_eval - Removed hacky require cache modification from component.lua |
||
---|---|---|
.. | ||
special | ||
branch.lua | ||
diagnostics.lua | ||
diff.lua | ||
encoding.lua | ||
fileformat.lua | ||
filename.lua | ||
filetype.lua | ||
hostname.lua | ||
location.lua | ||
mode.lua | ||
progress.lua |