return { { "nvim-tree/nvim-web-devicons", opts = {} }, { "nvim-treesitter/nvim-treesitter", lazy = false, build = ":TSUpdate", }, { "nvim-telescope/telescope.nvim", branch = "0.1.x", dependencies = { "nvim-lua/plenary.nvim" }, config = function() local telescope = require("telescope") telescope.setup({ defaults = { file_ignore_patterns = { "node_modules", ".git/" }, preview = { treesitter = false }, }, }) -- Optional keymaps local map = vim.keymap.set local opts = { noremap = true, silent = true } map("n", "fb", "Telescope buffers", opts) map("n", "fc", "Telescope commands", opts) map("n", "ff", "Telescope find_files", opts) map("n", "fg", "Telescope live_grep", opts) map("n", "fh", "Telescope help_tags", opts) map("n", "fm", "Telescope marks", opts) map("n", "fo", "Telescope oldfiles", opts) map("n", "fv", "Telescope vim_options", opts) end, }, }