You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

57 lines
1.7 KiB

return {
"nvim-lualine/lualine.nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
"letieu/harpoon-lualine",
},
config = function()
local lualine = require("lualine")
local lazy_status = require("lazy.status")
lualine.setup({
options = {
theme = "kanagawa",
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
globalstatus = true,
},
extensions = {
"fugitive",
"oil",
"quickfix",
},
sections = {
lualine_b = {
{ "branch" },
{ "diff" },
{ "diagnostics" },
{
function()
local buffers = vim.fn.getbufinfo({ buflisted = true })
return "Buffers: " .. #buffers
end,
},
},
lualine_c = {
{ "filename", file_status = true, path = 1 },
{ "harpoon2" },
},
lualine_x = {
{
lazy_status.updates,
cond = lazy_status.has_updates,
color = { fg = "#ff9e64" },
},
{ "fileformat" },
{ "filetype" },
},
lualine_y = {
{ "progress" },
},
lualine_z = {
{ "location" }
},
},
})
end,
}