return { { "nvim-telescope/telescope.nvim", dependencies = { "nvim-lua/plenary.nvim" } }, { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" }, { "mbbill/undotree" }, { "tpope/vim-fugitive" }, { "folke/trouble.nvim", opts = {}, -- for default options, refer to the configuration section for custom setup. cmd = "Trouble", keys = { { "xx", "Trouble diagnostics toggle", desc = "Diagnostics (Trouble)", } } }, { "nvim-tree/nvim-tree.lua", version = "*", lazy = false, dependencies = { "nvim-tree/nvim-web-devicons", }, config = function() require("nvim-tree").setup { update_focused_file = { enable = true } } end, }, { "mason-org/mason.nvim" }, { "hedyhli/outline.nvim", config = function() -- Example mapping to toggle outline vim.keymap.set("n", "o", "Outline", { desc = "Toggle Outline" }) require("outline").setup { -- Your setup opts here (leave empty to use defaults) } end, }, { 'stevearc/conform.nvim', opts = { formatters_by_ft = { lua = { "stylua" }, rust = { "rustfmt", lsp_format = "fallback" } }, format_on_save = { timeout_ms = 500, lsp_format = "fallback", }, }, }, { 'windwp/nvim-autopairs', event = "InsertEnter", config = true -- use opts = {} for passing setup options -- this is equivalent to setup({}) function } }