return { -- Add/change/delete surrounding delimiter pairs with ease. { "kylechui/nvim-surround", event = "VeryLazy", dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter-textobjects", }, config = function() require("nvim-surround").setup({}) end }, -- Autopairs for neovim written in lua. { "windwp/nvim-autopairs", event = "InsertEnter", config = true, }, -- Twilight dims inactive portions of the code you"re editing using TreeSitter. { "folke/twilight.nvim", config = function() local twilight = require("twilight") twilight.setup({ dimming = { alpha = 0.1, }, expand = { "function", "method", }, }) vim.keymap.set("n", "", twilight.toggle, { desc = "Dims inactive portions of the code" }) end }, -- Hex editing. { "RaafatTurki/hex.nvim", config = function() require("hex").setup() end }, }