2023-05-16 09:22:33 +01:00
|
|
|
return {
|
|
|
|
"nvim-lualine/lualine.nvim",
|
2023-05-17 14:57:53 +01:00
|
|
|
dependencies = { "nvim-tree/nvim-web-devicons", "folke/noice.nvim", "folke/tokyonight.nvim" },
|
2023-06-11 08:41:00 +01:00
|
|
|
event = { "VeryLazy" },
|
2023-05-16 09:22:33 +01:00
|
|
|
config = true,
|
2023-06-05 15:56:25 +01:00
|
|
|
opts = function()
|
|
|
|
return {
|
|
|
|
options = {
|
|
|
|
theme = "tokyonight",
|
|
|
|
component_separators = "|",
|
|
|
|
section_separators = { left = "", right = "" },
|
|
|
|
globalstatus = true,
|
|
|
|
},
|
|
|
|
sections = {
|
|
|
|
lualine_a = { { "mode", separator = { left = "" }, right_padding = 2 } },
|
|
|
|
lualine_b = { "filename", { "branch", icon = "" }, "diff" },
|
|
|
|
lualine_c = {
|
2023-07-03 17:12:46 +01:00
|
|
|
{
|
|
|
|
"diagnostics",
|
|
|
|
symbols = {
|
|
|
|
error = " ",
|
|
|
|
warn = " ",
|
|
|
|
info = " ",
|
|
|
|
hint = " ",
|
|
|
|
},
|
|
|
|
},
|
2023-07-07 11:46:40 +01:00
|
|
|
-- {
|
|
|
|
-- require("noice").api.status.mode.get,
|
|
|
|
-- cond = require("noice").api.status.mode.has,
|
|
|
|
-- color = { fg = "#ff9e64" },
|
|
|
|
-- },
|
2023-06-05 15:56:25 +01:00
|
|
|
},
|
|
|
|
lualine_x = { "filetype", "fileformat", "encoding" },
|
|
|
|
lualine_y = { "progress" },
|
|
|
|
lualine_z = { "selectioncount", { "location", separator = { right = "" }, left_padding = 2 } },
|
|
|
|
},
|
|
|
|
tabline = {},
|
|
|
|
winbar = {},
|
|
|
|
extensions = { "aerial", "fzf", "lazy", "neo-tree", "toggleterm", "trouble" },
|
|
|
|
}
|
|
|
|
end,
|
2023-05-16 09:22:33 +01:00
|
|
|
}
|