lualine.nvim/lua/lualine/utils
Shadman 53aa3d82d9
feat: refresh lualine based on timer + winbar support. (#736)
* feat: refresh lualine based on timer.

* fix config test

* fix lag on win change issue

* handle errors in timer callback

* feat: add winbar support

Pull in winbar changes form pr #689 and adapt them
Co-authored-by: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com>

* make winbar disapear when winbar evals empty

* only update stl of curwin with globalstatus

* properly clear win local stl and wbr opts

* add version guards for winbar feature

* only add winbar if height > 1

* fix tests?

* refresh lualine on ModeChanged event

* ignore floating windows for refresh

* properply restore options to previous state

* fix stl not updating in cmd mode + some optimizations

* fix tests on <nvim-0.7

* merge status_dispatch & winbar_dispatch + winbar support for extensions

* fix globalstatus option not live updating

* update docs

* feat: allow disabling winbar and statusline separately

* fix tests

* fix: winbar some times oddly throwing errors

about not having space in floating windows.

This implements a temporary workaround the issue(https://github.com/neovim/neovim/issues/19464)
until the bug in neovim gets fixed.

Co-authored-by: Diego Fujii <android.mxdiego9@gmail.com>
2022-07-22 19:29:55 +06:00
..
class.lua docs: cleanup formatting and comment typos (#696) 2022-05-30 20:25:05 +06:00
color_utils.lua docs: cleanup formatting and comment typos (#696) 2022-05-30 20:25:05 +06:00
fn_store.lua chore: autogen (vimdocs+formating) 2022-07-20 13:29:21 +00:00
job.lua docs: cleanup formatting and comment typos (#696) 2022-05-30 20:25:05 +06:00
loader.lua feat: refresh lualine based on timer + winbar support. (#736) 2022-07-22 19:29:55 +06:00
mode.lua fix: make escape sequences compatible with Lua 5.1 (#663) 2022-04-24 13:12:03 +06:00
notices.lua fix: persistent notices getting wrongly triggered 2022-03-07 18:10:32 +06:00
nvim_opts.lua feat: refresh lualine based on timer + winbar support. (#736) 2022-07-22 19:29:55 +06:00
section.lua feat: add support for dynamic color with functions in color options (#566) 2022-03-02 19:37:08 +06:00
utils.lua feat: refresh lualine based on timer + winbar support. (#736) 2022-07-22 19:29:55 +06:00