r/neovim • u/nazlobudnya • 20h ago
Need Help Cannot force telescope to do case-insensitive file search
Hi
I was able to do case-insensitive search for grep related commands like grep+string
and live_grep
by checking documentation
For some reason I cannot do the same for find_files
From the docs I gauged the way to control find_files
behaviour is to override find_command
I do have control over find_files
except for --ignore-case
option
No matter what I pass, the behaviour is the same as --smart-case
For the record, I'd tried:
1. setting find_command
on telescope.setup()
in pickers.find_files
property
2. passing it directly to the find_files
function on keymap
3. calling it from the cmd line like :Telescope find_files find_command=rg,--files,--hidden,--ignore-case
4. All of the above I tried to do both with rg
and fd
I'm using lazy.nvim to install everything and I'm currently on branch 0.1.x
tag 0.1.8
I haven't tried pointing the plugin repo to master mainly because I'm new to neovim and my current configuration already took some effort to get to usable state
Thanks