chore: autogen (vimdocs+formating)
This commit is contained in:
parent
e8294ac56a
commit
93b2f4af62
|
@ -919,9 +919,8 @@ So you can simply do
|
||||||
<
|
<
|
||||||
|
|
||||||
|
|
||||||
to refresh. Also don’t 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 ~
|
||||||
|
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue