return { -- better vim.ui { "MunifTanjim/nui.nvim", lazy = true }, { "folke/noice.nvim", event = "VeryLazy", opts = { views = { cmdline_popup = { position = { row = 5, col = "50%", }, size = { width = 60, height = "auto", }, }, popupmenu = { relative = "editor", position = { row = 8, col = "50%", }, size = { width = 60, height = 10, }, border = { style = "rounded", padding = { 0, 1 }, }, win_options = { winhighlight = { Normal = "Normal", FloatBorder = "DiagnosticInfo" }, }, }, }, lsp = { progress = { enabled = false, }, override = { ["vim.lsp.util.convert_input_to_markdown_lines"] = true, ["vim.lsp.util.stylize_markdown"] = true, ["cmp.entry.get_documentation"] = false, }, hover = { enabled = false, }, signature = { enabled = false, }, message = { enabled = true, }, }, health = { checker = false, }, presets = { bottom_search = true, command_palette = true, long_message_to_split = false, inc_rename = false, lsp_doc_border = false, }, }, -- Override vim.ui.select AFTER noice sets it up config = function(_, opts) require("noice").setup(opts) vim.ui.select = function(items, select_opts, on_choice) require("snacks.picker").select(items, select_opts, on_choice) end end, }, { "folke/snacks.nvim", priority = 1000, lazy = false, ---@type snacks.Config opts = { bigfile = { enabled = true }, dashboard = { enabled = true, sections = { { section = "header" }, { section = "keys", gap = 1 }, { icon = " ", title = "Recent Files", section = "recent_files", indent = 2, padding = { 2, 2 } }, { icon = " ", title = "Projects", section = "projects", indent = 2, padding = 2 }, }, }, explorer = { enabled = false }, indent = { enabled = true }, input = { enabled = true, position = "bottom" }, picker = { enabled = true }, -- ENABLE picker notifier = { enabled = true }, quickfile = { enabled = true }, scope = { enabled = true }, scroll = { enabled = true }, statuscolumn = { enabled = true }, words = { enabled = true }, }, }, }