---@type LazyPluginSpec return { { "nvim-notify", }, { "bufferline.nvim", ---@type BufferlineConfig opts = { options = { always_show_bufferline = false, }, }, }, { "noice.nvim", ---@type NoiceConfig opts = { presets = { command_palette = false, -- don't position the cmdline and popupmenu together lsp_doc_border = true, long_message_to_split = true, }, cmdline = { view = "cmdline", }, routes = { { -- send file written messages to mini filter = { event = "msg_show", kind = "", find = "%[w%]", }, opts = { skip = true }, }, }, }, config = function(_, opts) -- ensure [w] is written to msg_show so we can match it vim.opt.shortmess:append("w") vim.opt.shortmess:remove("W") require("noice").setup(opts) end, }, { "lualine.nvim", --TODO: Things that were in vim but are missing -- - git line add/mod/del ar next to branch name rather on right -- - one status line per splits -- - maybe a single one is OK too? -- - I think I want a line stating wihch file is in the split though -- - unix/dos eof markers -- - really I only want to know if it's not unix -- - filetype in text form. It's quite important to glance this quickly }, { "indent-blankline.nvim", }, { "mini.indentscope", opts = { draw = { animation = require("mini.indentscope").gen_animation.linear({ duration = 10 }), }, }, }, { "alpha-nvim", opts = function() local dashboard = require("alpha.themes.dashboard") local logo = [[ ██╗ █████╗ ███████╗██╗ ██╗██╗ ██╗██╗███╗ ███╗ Z ██║ ██╔══██╗╚══███╔╝╚██╗ ██╔╝██║ ██║██║████╗ ████║ Z ██║ ███████║ ███╔╝ ╚████╔╝ ██║ ██║██║██╔████╔██║ z ██║ ██╔══██║ ███╔╝ ╚██╔╝ ╚██╗ ██╔╝██║██║╚██╔╝██║ z ███████╗██║ ██║███████╗ ██║ ╚████╔╝ ██║██║ ╚═╝ ██║ ╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ]] dashboard.section.header.val = vim.split(logo, "\n") dashboard.section.buttons.val = { dashboard.button("f", " " .. " Find file", ":Telescope find_files "), dashboard.button("n", " " .. " New file", ":ene startinsert "), dashboard.button("r", " " .. " Recent files", ":Telescope oldfiles "), dashboard.button("c", " " .. " Config", ":e $MYVIMRC "), dashboard.button("s", " " .. " Restore Session", [[:lua require("persistence").load() ]]), dashboard.button("l", "󰒲 " .. " Lazy", ":Lazy"), dashboard.button("q", " " .. " Close", ":bdelete"), } for _, button in ipairs(dashboard.section.buttons.val) do button.opts.hl = "AlphaButtons" button.opts.hl_shortcut = "AlphaShortcut" end dashboard.section.footer.opts.hl = "Type" dashboard.section.header.opts.hl = "AlphaHeader" dashboard.section.buttons.opts.hl = "AlphaButtons" dashboard.opts.layout[1].val = 8 return dashboard end, }, { "nvim-navic", }, { "nvim-web-devicons", }, { "nui.nvim", }, }