local icons = require("lazyvim.config.icons") return { { "nvim-lua/plenary.nvim", enabled = true, }, { "RRethy/vim-illuminate", enabled = false, event = "BufReadPost", config = function() require("illuminate").configure({ delay = 200 }) end, -- stylua: ignore keys = { { "]]", function() require("illuminate").goto_next_reference(false) end, desc = "Next Reference", }, { "[[", function() require("illuminate").goto_prev_reference(false) end, desc = "Prev Reference" }, }, }, { "nvim-lua/popup.nvim", enabled = true, }, { "rcarriga/nvim-notify", enabled = false, opts = { -- Animation style (see below for details) stages = "static", -- Render function for notifications. See notify-render() render = "default", -- Default timeout for notifications timeout = 2000, -- For stages that change opacity this is treated as the highlight behind the window -- Set this to either a highlight group or an RGB hex value e.g. "#000000" background_colour = "Normal", -- Minimum width for notification windows minimum_width = 10, -- Icons for the different levels icons = { ERROR = icons.diagnostics.Error, WARN = icons.diagnostics.Warning, INFO = icons.diagnostics.Information, DEBUG = icons.ui.Bug, TRACE = icons.ui.Pencil, }, }, }, { "echasnovski/mini.bufremove", enabled = false, event = "VeryLazy", -- stylua: ignore keys = { { "bd", function() require("mini.bufremove").delete(0, false) end, desc = "Delete Buffer" }, { "bD", function() require("mini.bufremove").delete(0, true) end, desc = "Delete Buffer (Force)" }, }, }, { "ghillb/cybu.nvim", enabled = false, event = "VeryLazy", keys = { { "bl", "CybuNext", desc = "Next Buffer" }, { "bh", "CybuPrev", desc = "Prev Buffer" }, }, opts = { position = { relative_to = "win", -- win, editor, cursor anchor = "topright", -- topleft, topcenter, topright, -- centerleft, center, centerright, -- bottomleft, bottomcenter, bottomright -- vertical_offset = 10, -- vertical offset from anchor in lines -- horizontal_offset = 0, -- vertical offset from anchor in columns -- max_win_height = 5, -- height of cybu window in lines -- max_win_width = 0.5, -- integer for absolute in columns -- float for relative to win/editor width }, display_time = 1750, -- time the cybu window is displayed style = { separator = " ", -- string used as separator prefix = "…", -- string used as prefix for truncated paths padding = 1, -- left & right padding in number of spaces hide_buffer_id = true, devicons = { enabled = true, -- enable or disable web dev icons colored = true, -- enable color for web dev icons }, }, }, }, { "mbbill/undotree", enabled = true, cmd = { "UndotreeToggle" }, }, { "MunifTanjim/nui.nvim", enabled = false, }, { "kyazdani42/nvim-web-devicons", enabled = false, }, { "lukas-reineke/indent-blankline.nvim", enabled = false, opts = {}, }, { "windwp/nvim-autopairs", enabled = false, event = "VeryLazy", opts = { disable_filetype = { "TelescopePrompt", "spectre_panel" }, ignored_next_char = "[%w%.*]", -- don't place autopairs when cursor sits infront of any character. }, config = function(_, opts) require("nvim-autopairs").setup(opts) end, }, { "preservim/vim-markdown", enabled = false, }, { "nacro90/numb.nvim", enabled = true, event = "BufEnter", config = function() require("numb").setup({ show_numbers = true, -- enable 'number' for the window while peeking show_cursorline = true, -- enable 'cursorline' for window wdile peeking }) end, }, { "junegunn/vim-slash", enabled = false, }, { "echasnovski/mini.surround", enabled = false, keys = { "gz" }, opts = { mappings = { add = "gza", -- Add surrounding in Normal and Visual modes delete = "gzd", -- Delete surrounding find = "gzf", -- Find surrounding (to the right) find_left = "gzF", -- Find surrounding (to the left) highlight = "gzh", -- Highlight surrounding replace = "gzr", -- Replace surrounding update_n_lines = "gzn", -- Update `n_lines` }, }, config = function(_, opts) -- use gz mappings instead of s to prevent conflict with leap require("mini.surround").setup(opts) end, }, { "danymat/neogen", enabled = false, event = "BufEnter", config = function() require("neogen").setup({ enabled = true, input_after_comment = true, }) end, }, { "SmiteshP/nvim-navic", enabled = true, init = function() vim.g.navic_silence = true require("lazyvim.utils").on_attach(function(client, buffer) if client.server_capabilities.documentSymbolProvider then require("nvim-navic").attach(client, buffer) end end) end, opts = { separator = " ", highlight = true, depth_limit = 5 }, }, }