Dotfiles/.config/nvim/lua/plugins/status_bar.lua

80 lines
2.7 KiB
Lua
Raw Normal View History

2024-05-13 18:43:31 +00:00
return {
2024-06-02 17:11:54 +00:00
{
"nvim-lualine/lualine.nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
"nvimdev/lspsaga.nvim",
},
after = "rcarriga/nvim-dap-ui",
config = function()
-- Setup --
local lspsaga_breadcrumbs = require("lspsaga.symbol.winbar").get_bar
2024-06-01 19:57:04 +00:00
2024-06-02 17:11:54 +00:00
require("lualine").setup({
options = {
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
disabled_filetypes = {
"neo-tree",
"fugitive",
"help",
statusline = {
"dap-repl",
"dapui_console",
"dapui_console",
"dapui_watches",
"dapui_stacks",
"dapui_breakpoints",
"dapui_scopes",
},
},
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 = {
require("plugins.extension.status_bar_plugin"),
},
})
end,
},
{
"romgrk/barbar.nvim",
dependencies = {
"lewis6991/gitsigns.nvim",
"nvim-tree/nvim-web-devicons",
},
config = function()
require("barbar").setup()
end,
},
2024-05-13 18:43:31 +00:00
}