nvim/lua/plugins/ui.lua
2026-03-01 18:53:20 +01:00

51 lines
1.1 KiB
Lua

return {
{ "RRethy/base16-nvim" },
{
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function()
local has_lualine, lualine = pcall(require, "lualine")
if not has_lualine then
return
end
require("lualine").setup({
options = {
component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" },
},
sections = {
lualine_a = { "mode" },
lualine_b = { "diagnostics" },
lualine_c = { "filename", "branch", "navic" },
lualine_x = { "lsp_status", "filetype" },
lualine_y = { "progress" },
lualine_z = { "location" },
},
})
end,
},
{
"nvimdev/lspsaga.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter", -- for syntax highlighting inside the popup
"nvim-tree/nvim-web-devicons", -- for pretty icons
},
opts = {
ui = {
border = "rounded",
},
symbol_in_winbar = { enable = true },
hover = {
max_width = 0.6,
open_link = "gx",
open_browser = "!google-chrome",
},
},
},
{
"akinsho/bufferline.nvim",
opts = {},
},
}