forked from Snoweuph/Dotfiles
60 lines
2 KiB
Lua
60 lines
2 KiB
Lua
return {
|
|
{
|
|
"nvim-lualine/lualine.nvim",
|
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
|
config = function()
|
|
-- Setup --
|
|
require("lualine").setup({
|
|
options = {
|
|
component_separators = { left = "", right = "" },
|
|
section_separators = { left = "", right = "" },
|
|
disabled_filetypes = {
|
|
"neo-tree",
|
|
"fugitive",
|
|
"help",
|
|
},
|
|
ignore_focus = {},
|
|
always_divide_middle = true,
|
|
globalstatus = false,
|
|
refresh = {
|
|
statusline = 1000,
|
|
tabline = 1000,
|
|
winbar = 1000,
|
|
},
|
|
},
|
|
sections = {
|
|
lualine_a = { "mode" },
|
|
lualine_b = { "branch", "diff", "diagnostics" },
|
|
lualine_x = { "location" },
|
|
lualine_y = { "encoding" },
|
|
lualine_z = { "filetype" },
|
|
},
|
|
inactive_sections = {
|
|
lualine_a = { "mode" },
|
|
lualine_b = { "branch", "diff", "diagnostics" },
|
|
lualine_x = { "location" },
|
|
lualine_y = { "encoding" },
|
|
lualine_z = { "filetype" },
|
|
},
|
|
tabline = {},
|
|
winbar = {
|
|
lualine_a = { "filename" },
|
|
},
|
|
inactive_winbar = {
|
|
lualine_a = { "filename" },
|
|
},
|
|
extensions = {},
|
|
})
|
|
end,
|
|
},
|
|
{
|
|
"romgrk/barbar.nvim",
|
|
dependencies = {
|
|
"lewis6991/gitsigns.nvim",
|
|
"nvim-tree/nvim-web-devicons",
|
|
},
|
|
config = function()
|
|
require("barbar").setup()
|
|
end,
|
|
},
|
|
}
|