fix: show hidden files with live grep

This commit is contained in:
Matej Janezic 2023-05-16 11:20:05 +02:00
parent c7dc25c6d8
commit 2c702057ad
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
1 changed files with 24 additions and 1 deletions

View File

@ -31,7 +31,30 @@ return {
}, },
pickers = { pickers = {
find_files = { find_files = {
find_command = { 'rg', '-S', '--no-ignore-vcs', '--hidden', '--files', '-g', '!.git' }, find_command = {
'rg',
'-S',
'--no-ignore-vcs',
'--hidden',
'--files',
'-g',
'!.git',
},
},
live_grep = {
grep_command = {
'rg',
'--no-ignore-vcs',
'--hidden',
'--color=never',
'--no-heading',
'--with-filename',
'--line-number',
'--column',
'--smart-case',
'-g',
'!.git',
},
}, },
}, },
} }