chore: autogen (vimdocs+formating)

This commit is contained in:
shadmansaleh 2022-08-03 15:36:17 +00:00 committed by github-actions[bot]
parent e8294ac56a
commit 93b2f4af62
2 changed files with 5 additions and 6 deletions

View File

@ -919,9 +919,8 @@ So you can simply do
< <
to refresh. Also dont call refresh inside components. As components are Avoid calling lualine.refresh inside components. Since components are evaluated
evaluated during refresh, calling refresh while refreshing can have undesirable during refresh, calling refresh while refreshing can have undesirable effects.
effects.
DISABLING LUALINE ~ DISABLING LUALINE ~

View File

@ -17,7 +17,7 @@ local timers = {
stl_timer = vim.loop.new_timer(), stl_timer = vim.loop.new_timer(),
tal_timer = vim.loop.new_timer(), tal_timer = vim.loop.new_timer(),
wb_timer = vim.loop.new_timer(), wb_timer = vim.loop.new_timer(),
halt_stl_refresh = false, -- mutex ? halt_stl_refresh = false, -- mutex ?
halt_tal_refresh = false, halt_tal_refresh = false,
halt_wb_refresh = false, halt_wb_refresh = false,
} }
@ -321,7 +321,7 @@ local function refresh(opts)
opts = vim.tbl_extend('keep', opts, { opts = vim.tbl_extend('keep', opts, {
scope = 'tabpage', scope = 'tabpage',
place = { 'statusline', 'winbar', 'tabline' }, place = { 'statusline', 'winbar', 'tabline' },
trigger = 'unknown' trigger = 'unknown',
}) })
-- updating statusline in autocommands context seems to trigger 100 different bugs -- updating statusline in autocommands context seems to trigger 100 different bugs
@ -564,7 +564,7 @@ local function hide(opts)
opts = {} opts = {}
end end
opts = vim.tbl_extend('keep', opts, { opts = vim.tbl_extend('keep', opts, {
place = {'statusline', 'tabline', 'winbar'}, place = { 'statusline', 'tabline', 'winbar' },
unhide = false, unhide = false,
}) })
local hide_fn = { local hide_fn = {