Evie Litherland-Smith
33e0cf64f7
Show hidden files in Oil Add extra navbuddy dependencies Load lualine at VeryLazy step
36 lines
1.4 KiB
Lua
36 lines
1.4 KiB
Lua
return {
|
|
"nvim-lualine/lualine.nvim",
|
|
cond = not vim.g.vscode,
|
|
dependencies = { "nvim-tree/nvim-web-devicons", "folke/noice.nvim", "folke/tokyonight.nvim" },
|
|
event = { "VeryLazy" },
|
|
config = true,
|
|
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 = {
|
|
"diagnostics",
|
|
{
|
|
require("noice").api.status.mode.get,
|
|
cond = require("noice").api.status.mode.has,
|
|
color = { fg = "#ff9e64" },
|
|
},
|
|
},
|
|
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,
|
|
}
|