You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my macbook, using nix-darwin and nushell, the version of ripgrep from nixpkgs does not work with live_grep - I get this error:
[telescope.live_grep]: 'ripgrep', or similar alternative, is a required dependency for the live_grep picker. Visit https://github.com/BurntSushi/ripgrep#installation for installation instructions.
I've verified that rg is on my PATH:
~
❯ which -a rg | to text
command: rg
path:
type: external
command: rg
path: /Users/rykugur/.nix-profile/bin/rg
type: external
However, if I install it via homebrew and add /opt/homebrew/bin to my path (and thus have two instances of rg on my PATH), live_grep works fine.
Additionally, on my linux desktop (running nixOS with the same nushell config), the version of ripgrep from nixpkgs works fine for live_grep.
My telescope config for neovim is mostly the standard config from LazyVim extras.
NOTE: fd is also on my path, even though the checkhealth command says otherwise.
Neovim version
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1713773202
Run "nvim -V1 -v" for more info
Operating system and version
macOS 14.7.1 (23H222)
Telescope version / branch / rev
branch main commit cf48d4d
checkhealth telescope
==============================================================================
telescope: require("telescope.health").check()
Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.
Checking external dependencies ~
- ERROR rg: not found. `live-grep` finder will not function without [BurntSushi/ripgrep](https://github.com/BurntSushi/ripgrep) installed.
- WARNING fd: not found. Install [sharkdp/fd](https://github.com/sharkdp/fd) for extended capabilities
===== Installed extensions ===== ~
Telescope Extension: `aerial` ~
- No healthcheck provided
Telescope Extension: `fzf` ~
- OK lib working as expected
- OK file_sorter correctly configured
- OK generic_sorter correctly configured
Telescope Extension: `git_worktree` ~
- No healthcheck provided
Telescope Extension: `projects` ~
- No healthcheck provided
Steps to reproduce
Have ripgrep from nixpkgs installed on nix-darwin
Open up neovim
run :Telescope live_grep
Error
Expected behavior
live_grep works
Actual behavior
Live_grep gives error:
[telescope.live_grep]: 'ripgrep', or similar alternative, is a required dependency for the live_grep picker. Visit https://github.com/BurntSushi/ripgrep#installation for installation instructions.
Description
On my macbook, using nix-darwin and nushell, the version of
ripgrep
from nixpkgs does not work with live_grep - I get this error:I've verified that
rg
is on my PATH:However, if I install it via homebrew and add
/opt/homebrew/bin
to my path (and thus have two instances ofrg
on my PATH), live_grep works fine.Additionally, on my linux desktop (running nixOS with the same nushell config), the version of
ripgrep
from nixpkgs works fine for live_grep.My telescope config for neovim is mostly the standard config from LazyVim extras.
NOTE:
fd
is also on my path, even though the checkhealth command says otherwise.Neovim version
Operating system and version
macOS 14.7.1 (23H222)
Telescope version / branch / rev
branch main commit cf48d4d
checkhealth telescope
Steps to reproduce
:Telescope live_grep
Expected behavior
live_grep works
Actual behavior
Live_grep gives error:
Minimal config
EDIT: some rg version info:
The text was updated successfully, but these errors were encountered: