telescope.nvim
telescope.nvim copied to clipboard
WSL opens fd when running lua require('telescope.builtin').find_files()
Description
When using either <cmd>Telescope find_files<cr> or <cmd>lua require('telescope.builtin').find_files()<cr> on WSL running Ubuntu 20.04 the command starts to open a floating window as expected but then suddenly closes neovim and runs the fd command in the current directory. After a couple of seconds fd fails.
Following the telescope instructions I've installed sharkdp/fd.
Other telescope command such as <cmd>lua require('telescope.builtin').live_grep()<cr> work as intended. The problem seems to be specific to find_files.
Please see attached video. It's hard to explain.
Neovim version
NVIM v0.8.0-dev Build type: RelWithDebInfo LuaJIT 2.1.0-beta3
Operating system and version
WSL 2 running Ubuntu 20.04.5 LTS
Telescope version / branch / rev
telescope 0.1.0
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 11.0.2
- OK: fd: found fd 7.4.0
## ===== Installed extensions =====
## Telescope Extension: `fzf`
- INFO: No healthcheck provided
Steps to reproduce
- Build neovim with version 0.8.0
- Install package manager (I'm using packer)
- Install telescope.
- Run
:lua require('telescope.builtin').find_files()<cr>
Expected behavior
Open telescope and show files in current directory and all sub directories.
Actual behavior
https://user-images.githubusercontent.com/25598414/189556919-bbab4d82-61fc-4d51-93ad-1aaef491b195.mp4
Minimal config
-- Only required if you have packer configured as `opt`
vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
-- fuzzy file finder
use {
'nvim-telescope/telescope.nvim', tag = '0.1.0',
requires = { {'nvim-lua/plenary.nvim'} }
}
end)
I think the name of the ubuntu package is fdfind not just fd iirc