Open RobberFox opened 1 month ago
Also saw this behavior. Switched to fd
, but it didn't help
pickers = {
find_files = {
find_command = { 'fd', '--type', 'f', '--ignore-case', '--hidden', '--strip-cwd-prefix' },
},
},
However in shell fd
show case-insensitive result.
~/notes/vault-13
❯ fd --type f --ignore-case "что"
Во что поиграть.md
Что делать после установки Fedora.md
Что посмотреть.md
Что почитать.md
Description
When using telescope builtin
find_files
for filenames in non-latin languages, thesmartcase
option doesn't work. Here I have to explicitly type the uppercaseФ
,П
charactersP.S. I use neovim for note-taking and some of my filenames are in non-latin langages (armenian, russian, etc.)
Neovim version
Operating system and version
Debian Linux 12 x86_64
Telescope version / branch / rev
0.1.x
checkhealth telescope
Steps to reproduce
nvim -nu minimal.lua
:Telescope find_files
and search in lowercase (sayфунк дирих
) for a filename in non-latin language, likeФункция-Дирихле.md
Expected behavior
I would expect the smartcase behaviour to work in non-latin languages the same way it does in english. So,
func diric
pattern matches a filenameFunction-Dirichlet.md
andфунк дирих
is expected to matchФункция-Дирихле.md
Actual behavior
функ дирих
doesn't matchФункция-Дирихле.md
Minimal config