return { -- Autopairs { "windwp/nvim-autopairs", event = "InsertEnter", opts = {}, }, -- Comment toggling { "numToStr/Comment.nvim", keys = { { "gcc", mode = "n", desc = "Toggle comment" }, { "gc", mode = "v", desc = "Toggle comment" }, }, opts = {}, }, -- TODO comments { "folke/todo-comments.nvim", event = { "BufReadPost", "BufNewFile" }, dependencies = { "nvim-lua/plenary.nvim" }, opts = {}, keys = { { "ft", "TodoTelescope", desc = "Find TODOs" }, }, }, -- Which-key: shows keybinding hints { "folke/which-key.nvim", event = "VeryLazy", opts = {}, }, -- File explorer { "nvim-neo-tree/neo-tree.nvim", branch = "v3.x", dependencies = { "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons", "MunifTanjim/nui.nvim", }, keys = { { "n", "Neotree toggle", desc = "Toggle file explorer" }, }, opts = { filesystem = { filtered_items = { visible = true, hide_dotfiles = false, }, }, }, }, -- Crates.nvim for Cargo.toml { "saecki/crates.nvim", event = { "BufRead Cargo.toml" }, opts = {}, }, }