Skip to content

Commit bf6bd26

Browse files
committed
enable hidden files search for find-files and live-grep (exclude .git/)
1 parent 5678c76 commit bf6bd26

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lua/kickstart/plugins/telescope.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,16 @@ return {
7979
pickers = {
8080
live_grep = {
8181
layout_strategy = 'vertical',
82+
additional_args = {
83+
'--hidden',
84+
'--glob',
85+
'!.git/',
86+
},
87+
-- layout_config = { height = 0.6, width = 0.6 },
8288
},
8389
find_files = {
8490
layout_strategy = 'vertical',
91+
find_command = { 'fd', '--type', 'f', '--strip-cwd-prefix', '--hidden', '--exclude', '.git' },
8592
},
8693
buffers = {
8794
theme = 'ivy',

0 commit comments

Comments
 (0)