2023-05-16 09:22:33 +01:00
|
|
|
return {
|
|
|
|
"nvim-lualine/lualine.nvim",
|
2023-05-31 16:47:30 +01:00
|
|
|
cond = not vim.g.vscode,
|
2023-05-17 14:57:53 +01:00
|
|
|
dependencies = { "nvim-tree/nvim-web-devicons", "folke/noice.nvim", "folke/tokyonight.nvim" },
|
2023-05-22 08:31:58 +01:00
|
|
|
event = { "BufReadPre", "BufNewFile" },
|
2023-05-16 09:22:33 +01:00
|
|
|
config = true,
|
|
|
|
opts = {
|
|
|
|
options = {
|
2023-05-17 14:57:53 +01:00
|
|
|
theme = "tokyonight",
|
2023-05-16 09:22:33 +01:00
|
|
|
component_separators = "|",
|
|
|
|
section_separators = { left = "", right = "" },
|
|
|
|
globalstatus = true,
|
|
|
|
},
|
|
|
|
sections = {
|
2023-05-16 12:40:50 +01:00
|
|
|
lualine_a = { { "mode", separator = { left = "" }, right_padding = 2 } },
|
2023-05-16 09:22:33 +01:00
|
|
|
lualine_b = { "filename", { "branch", icon = "" }, "diff" },
|
2023-05-17 14:57:53 +01:00
|
|
|
lualine_c = { "diagnostics" },
|
2023-05-16 09:22:33 +01:00
|
|
|
lualine_x = { "filetype", "fileformat", "encoding" },
|
|
|
|
lualine_y = { "progress" },
|
2023-05-16 12:40:50 +01:00
|
|
|
lualine_z = { "selectioncount", { "location", separator = { right = "" }, left_padding = 2 } },
|
2023-05-16 09:22:33 +01:00
|
|
|
},
|
2023-05-17 14:57:53 +01:00
|
|
|
tabline = {},
|
2023-05-16 09:22:33 +01:00
|
|
|
winbar = {},
|
|
|
|
extensions = { "aerial", "fzf", "lazy", "neo-tree", "toggleterm", "trouble" },
|
|
|
|
},
|
|
|
|
}
|