forked from Snoweuph/Dotfiles
66 lines
1.5 KiB
Lua
66 lines
1.5 KiB
Lua
return {
|
|
{
|
|
"nvim-lualine/lualine.nvim",
|
|
dependencies = {
|
|
"nvim-tree/nvim-web-devicons",
|
|
"nvimdev/lspsaga.nvim",
|
|
},
|
|
config = function()
|
|
-- Setup --
|
|
local lspsaga_breadcrumbs = require("lspsaga.symbol.winbar").get_bar
|
|
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 = { "diagnostics" },
|
|
lualine_c = { lspsaga_breadcrumbs },
|
|
lualine_x = { "location" },
|
|
lualine_y = { "diff", "branch" },
|
|
lualine_z = { "filetype" },
|
|
},
|
|
inactive_sections = {
|
|
lualine_a = { "mode" },
|
|
lualine_b = { "diagnostics" },
|
|
lualine_c = {},
|
|
lualine_x = { "location" },
|
|
lualine_y = { "diff", "branch" },
|
|
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,
|
|
},
|
|
}
|