refactor: move ripgrep extra package to telescope plugin definition

This commit is contained in:
Nicolas Goudry 2024-05-27 09:40:12 +02:00
parent 465916d5c1
commit ea9d077a81
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# homepage: https://github.com/nvim-telescope/telescope.nvim
# nixvim doc: https://nix-community.github.io/nixvim/plugins/telescope/index.html
{ libn, ... }:
{ libn, pkgs, ... }:
{
opts = {
@ -8,6 +8,9 @@
};
rootOpts = {
# Needed for live grep
extraPackages = [ pkgs.ripgrep ];
# Enable catppuccin colors
# https://github.com/catppuccin/nvim/blob/main/lua/catppuccin/groups/integrations/telescope.lua
colorschemes.catppuccin.settings.integrations.telescope.enabled = true;