fix Telescope bug with ripgrep not finding empty textfiles. currently we are using ripgrep to ignore binaries:
if vim.fn.executable 'rg' == 1 then
opts.find_command = {
'rg',
'-l',
'.*',
'--follow',
'--hidden',
'--no-ignore-vcs',
'--glob',
'!.git',
'--glob',
'!lib',
'--glob',
'!node_modules',
'--glob',
'!target',
'--glob',
'!dist',
'--glob',
'!build',
}
but it ends up ignoring text files that contains no data.
fix Telescope bug with
ripgrepnot finding empty textfiles. currently we are usingripgrepto ignore binaries:but it ends up ignoring text files that contains no data.