telescope.nvim
telescope.nvim copied to clipboard
Capitalize french accent support
Description
Hello,
Thanks for creating Telescope.nvim !
I try to search files with accents. But if the file has a capitalize accent character, it will not appear on the results.
Exemple widh a markdown file : Écriture.md.
If I search écriture, it not appeear.
Neovim version
NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Operating system and version
Arch Linux
checkhealth telescope
telescope: require("telescope.health").check()
========================================================================
## Checking for required plugins
- OK: plenary installed.
- OK: nvim-treesitter installed.
## Checking external dependencies
- OK: rg: found ripgrep 13.0.0
- OK: fd: found fd 8.3.2
## ===== Installed extensions =====
## Telescope Extension: `fzf`
- INFO: No healthcheck provided
Steps to reproduce
touch `Écriture.md`
nvim
# <leader>ff
# écriture
Expected behavior
Retrieve my file on the search results if I search with a capitalize letter or not.
Actual behavior
If I search without a capital accent letter, I can't find my file.
Minimal config
vim.cmd [[set runtimepath=$VIMRUNTIME]]
vim.cmd [[set packpath=/tmp/nvim/site]]
local package_root = '/tmp/nvim/site/pack'
local install_path = package_root .. '/packer/start/packer.nvim'
local function load_plugins()
require('packer').startup {
{
'wbthomason/packer.nvim',
{
'nvim-telescope/telescope.nvim',
requires = {
'nvim-lua/plenary.nvim',
{ 'nvim-telescope/telescope-fzf-native.nvim', run = 'make' },
},
},
-- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
},
config = {
package_root = package_root,
compile_path = install_path .. '/plugin/packer_compiled.lua',
display = { non_interactive = true },
},
}
end
_G.load_config = function()
require('telescope').setup()
require('telescope').load_extension('fzf')
-- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
end
if vim.fn.isdirectory(install_path) == 0 then
print("Installing Telescope and dependencies.")
vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path }
end
load_plugins()
require('packer').sync()
vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]
If you are using fzf-native, its a fzf-native bug because i do not yet have support for utf8 case. Its on my roadmap: https://github.com/nvim-telescope/telescope-fzf-native.nvim#todo
I was already working on it once and got it working but its made the performance way slower because i implemented it with additional allocations.
I will go back to it pretty soon because i have a couple of new ideas
Hello @Conni2461, thanks for your reactivity.
I have this issue with any extensions.
Hope this will be fixed soon :)