2023-05-10 19:25:15 +01:00
|
|
|
return {
|
|
|
|
"nvim-lualine/lualine.nvim",
|
2023-05-11 12:19:36 +01:00
|
|
|
dependencies = { "nvim-tree/nvim-web-devicons", "SmiteshP/nvim-navic", "folke/noice.nvim" },
|
2023-05-10 22:13:59 +01:00
|
|
|
event = { "BufEnter" },
|
2023-05-11 10:44:22 +01:00
|
|
|
config = true,
|
|
|
|
opts = {
|
|
|
|
options = {
|
|
|
|
theme = "catppuccin",
|
|
|
|
component_separators = "|",
|
|
|
|
section_separators = { left = "", right = "" },
|
|
|
|
globalstatus = true,
|
|
|
|
},
|
|
|
|
sections = {
|
|
|
|
lualine_a = { "mode" },
|
|
|
|
lualine_b = { "filename", { "branch", icon = "" }, "diff" },
|
2023-05-11 11:53:58 +01:00
|
|
|
lualine_c = { "diagnostics", "require('noice').api.status.lsp.get_hl()" },
|
2023-05-11 10:44:22 +01:00
|
|
|
lualine_x = { "filetype", "fileformat", "encoding" },
|
|
|
|
lualine_y = { "progress" },
|
|
|
|
lualine_z = { "selectioncount", "location" },
|
|
|
|
},
|
|
|
|
tabline = {
|
|
|
|
lualine_a = {},
|
|
|
|
lualine_b = {},
|
|
|
|
lualine_c = { "require('nvim-navic').get_location()" },
|
|
|
|
lualine_x = { "windows" },
|
|
|
|
lualine_y = {},
|
|
|
|
lualine_z = {},
|
|
|
|
},
|
|
|
|
winbar = {},
|
|
|
|
extensions = { "aerial", "fzf", "lazy", "neo-tree", "toggleterm", "trouble" },
|
|
|
|
},
|
2023-05-10 19:25:15 +01:00
|
|
|
}
|