nvim-config/lua/plugins/ui.lua

55 lines
1.2 KiB
Lua

return {
{
"folke/which-key.nvim",
event = "VeryLazy",
},
{
"echasnovski/mini.icons",
version = "*",
init = function()
package.preload["nvim-web-devicons"] = function()
require("mini.icons").mock_nvim_web_devicons()
return package.loaded["nvim-web-devicons"]
end
end,
},
{
"akinsho/bufferline.nvim",
version = "*",
dependencies = "nvim-tree/nvim-web-devicons",
opts = {
options = {
diagnostics = "nvim_lsp",
show_close_icon = false,
separator_style = "slant",
offsets = {
{
filetype = "snacks_layout_box",
text = "󰙅 File Explorer",
separator = true,
},
},
},
},
},
{
"folke/noice.nvim",
event = "VeryLazy",
dependencies = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
"MunifTanjim/nui.nvim",
-- OPTIONAL:
-- `nvim-notify` is only needed, if you want to use the notification view.
-- If not available, we use `mini` as the fallback
-- "rcarriga/nvim-notify",
},
opts = {
-- you can enable a preset for easier configuration
presets = {
bottom_search = true, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
},
},
},
}