I'm just getting started with neovim, and had a tough time getting the Telescope plugin to start working correctly. I'm using packer as my plugin manager, and in my plugins.lua file, I had all the dependencies listed that Telescope needed, which looked like this:
return require('packer').startup(function()
-- packer can run itself
use 'wbthomason/packer.nvim'
-- Telescope and it's dependencies
use 'nvim-telescope/telescope.nvim'
use 'nvim-lua/plenary.nvim'
use 'nvim-treesitter/nvim-treesitter'
use 'BurntSushi/ripgrep'
use 'sharkdp/fd'
end)
After I ran :PackerSync
it said that all of the packages were successfully installed. I also looked at my .local/share/nvim/site/pack/packer/start
directory and saw all of the plugins were there.
But, after this when I ran :checkhealth Telescope
I kept getting a warnings that ripgrep and fd were not installed and needed/recommended for Telescope to work properly. Telescope
and nvim-treesitter
both said they were installed, but not ripgrep
and fd
. This confused me for a long time, and the health check did not come back succesfull until I installed both ripgrep and fd using homebrew:
brew install ripgrep
brew install fd
So, my question is why did I need to install these two with homebrew, but for example I didn't need to homebrew install nvim-treesitter? I don't undertand what the difference is. Thank you so much for any help. Also, I am running on mac:
MacOS Bug Sur
Version 11.3.1
MacBook Pro (16-inch, 2019)
Processor: 2.3 GHz 8-Core Intel Core i9
Memory: 32 GB 2667 MHz DDR4
Startup Disk: Macintosh HD
Graphics: AMD Radeon Pro 5500M 8 GB