nvim/lua/plugins/ui.lua
2025-03-29 10:06:51 -04:00

126 lines
3.4 KiB
Lua

return {
{
"ramojus/mellifluous.nvim",
lazy = false,
priority = 1000,
enabled = false,
config = function()
require("mellifluous").setup {
--colorset = "alduin",
colorset = "mellifluous"
} -- optional, see configuration section.
vim.cmd [[ colorscheme mellifluous ]]
end,
},
{
"zenbones-theme/zenbones.nvim",
lazy = false,
priority = 1000,
enabled = true,
dependencies = "rktjmp/lush.nvim",
config = function()
vim.g.zenwritten = { darkness = "stark", solid_vert_split = true, solid_line_nr = true }
vim.cmd [[ colorscheme zenwritten ]]
end,
},
{
"datsfilipe/vesper.nvim",
lazy = false,
priority = 1000,
enabled = false,
config = function()
require("vesper").setup {
transparent = false,
}
vim.cmd [[ colorscheme vesper ]]
end,
},
{
"AlexvZyl/nordic.nvim",
lazy = false,
priority = 1000,
enabled = false,
config = function()
require("nordic").load {
bright_border = true,
}
end,
},
{
"akinsho/bufferline.nvim",
version = "*",
lazy = false,
dependencies = { "nvim-tree/nvim-web-devicons", "datsfilipe/vesper.nvim" },
keys = {
{
"<leader>[",
":BufferLineCyclePrev<CR>",
desc = "Go back a buffer",
},
{
"<leader>]",
":BufferLineCycleNext<CR>",
desc = "Go to the next buffer",
},
{
"<leader>-",
":BufferLineCloseLeft<CR>",
desc = "Bufferline: Close left",
},
{
"<leader>+",
":BufferLineCloseOthers<CR>",
desc = "Bufferline: Close others",
},
{
"<leader>_",
":BufferLineCloseRight<CR>",
desc = "Bufferline: Close right",
},
{
"<leader>=",
":BufDel<CR>",
desc = "Close current buffer",
},
},
opts = {
diagnostics = "nvim_lsp",
diagnostics_indicator = function(count, level, diagnostics_dict, context)
local icon = level:match "error" and "" or ""
return " " .. icon .. count
end,
},
config = function(_, opts)
require("bufferline").setup {
options = opts,
}
end,
},
{
"ojroques/nvim-bufdel",
opts = {},
},
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
-- {"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information
},
lazy = false, -- neo-tree will lazily load itself
---@module "neo-tree"
---@type neotree.Config?
opts = {
},
keys = {
{ "<leader>tt", ":Neotree toggle<CR>" }
}
}
}