From 93231d06f7fef999dbb50fb2ff2956538578a055 Mon Sep 17 00:00:00 2001 From: Thomas Lazarus Date: Tue, 30 Sep 2025 10:21:17 -0500 Subject: [PATCH] Updates Telescope config to show hidden files and ignore others --- lua/kickstart/plugins/telescope.lua | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/lua/kickstart/plugins/telescope.lua b/lua/kickstart/plugins/telescope.lua index 8af23a13..df6b4e1e 100644 --- a/lua/kickstart/plugins/telescope.lua +++ b/lua/kickstart/plugins/telescope.lua @@ -5,20 +5,12 @@ return { -- Fuzzy Finder (files, lsp, etc) 'nvim-lua/plenary.nvim', { -- If encountering errors, see telescope-fzf-native README for installation instructions 'nvim-telescope/telescope-fzf-native.nvim', - - -- `build` is used to run some command when the plugin is installed/updated. - -- This is only run then, not every time Neovim starts up. build = 'make', - - -- `cond` is a condition used to determine whether this plugin should be - -- installed and loaded. cond = function() return vim.fn.executable 'make' == 1 end, }, { 'nvim-telescope/telescope-ui-select.nvim' }, - - -- Useful for getting pretty icons, but requires a Nerd Font. { 'nvim-tree/nvim-web-devicons', enabled = vim.g.have_nerd_font }, }, config = function() @@ -53,6 +45,23 @@ return { -- Fuzzy Finder (files, lsp, etc) -- }, -- }, -- pickers = {} + defaults = { + file_ignore_patterns = { + '.venv', + '%.git/', + '__pycache__', + '%.pyc', + -- Add other patterns you want to ignore + }, + -- Show hidden files + hidden = true, + }, + pickers = { + find_files = { + -- Also enable hidden files specifically for find_files + hidden = true, + }, + }, extensions = { ['ui-select'] = { require('telescope.themes').get_dropdown(),