2023-05-16 09:22:33 +01:00
|
|
|
return {
|
|
|
|
"nvim-lualine/lualine.nvim",
|
2023-07-20 13:27:15 +01:00
|
|
|
dependencies = { "nvim-tree/nvim-web-devicons", "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 = {
|
2023-07-24 10:42:10 +01:00
|
|
|
lualine_a = { "mode" },
|
2023-06-05 15:56:25 +01:00
|
|
|
lualine_b = { "filename", { "branch", icon = "" }, "diff" },
|
|
|
|
lualine_c = {
|
2023-07-03 17:12:46 +01:00
|
|
|
{
|
|
|
|
"diagnostics",
|
|
|
|
symbols = {
|
2023-07-24 10:42:10 +01:00
|
|
|
error = require("ui.lsp_icons").Error,
|
|
|
|
warn = require("ui.lsp_icons").Warn,
|
|
|
|
info = require("ui.lsp_icons").Info,
|
|
|
|
hint = require("ui.lsp_icons").Hint,
|
2023-07-03 17:12:46 +01:00
|
|
|
},
|
|
|
|
},
|
2023-06-05 15:56:25 +01:00
|
|
|
},
|
|
|
|
lualine_x = { "filetype", "fileformat", "encoding" },
|
|
|
|
lualine_y = { "progress" },
|
2023-07-24 10:42:10 +01:00
|
|
|
lualine_z = { "selectioncount", "location" },
|
2023-06-05 15:56:25 +01:00
|
|
|
},
|
|
|
|
tabline = {},
|
|
|
|
winbar = {},
|
|
|
|
extensions = { "aerial", "fzf", "lazy", "neo-tree", "toggleterm", "trouble" },
|
|
|
|
}
|
|
|
|
end,
|
2023-05-16 09:22:33 +01:00
|
|
|
}
|