-
Notifications
You must be signed in to change notification settings - Fork 534
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Self Checks
- I'm using the latest lualine.
- I didn't find the issue in existing issues or PRs.
Expected behaviour
Nvim cpu usage should be near zero, especially when not using the editor.
Actual behaviour
when lualine is loaded, nvim cpu usage is always 1-2% (on an intel Ultra 9 185H). The issue still persists if I strip all component from lualine (see config file).
Minimal config to reproduce the issue
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
-- if not vim.loop.fs_stat(lazypath) then
if not vim.uv.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
spec = { 'nvim-lualine/lualine.nvim',
-- ~/.config/nvim/lua/lualine_config.lua
-- event = 'UIEnter',
config = function()
require'lualine'.setup{
sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {},
lualine_x = {},
lualine_y = {},
lualine_z = {},
}
}
end,
}
}
)Additional information
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working