refactor: move ripgrep extra package to telescope plugin definition
This commit is contained in:
parent
465916d5c1
commit
ea9d077a81
2 changed files with 4 additions and 4 deletions
|
|
@ -7,9 +7,6 @@ _:
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
# Needed for telescope live grep
|
|
||||||
extraPackages = [ pkgs.ripgrep ];
|
|
||||||
|
|
||||||
# Use <Space> as leader key
|
# Use <Space> as leader key
|
||||||
globals.mapleader = " ";
|
globals.mapleader = " ";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# homepage: https://github.com/nvim-telescope/telescope.nvim
|
# homepage: https://github.com/nvim-telescope/telescope.nvim
|
||||||
# nixvim doc: https://nix-community.github.io/nixvim/plugins/telescope/index.html
|
# nixvim doc: https://nix-community.github.io/nixvim/plugins/telescope/index.html
|
||||||
{ libn, ... }:
|
{ libn, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
opts = {
|
opts = {
|
||||||
|
|
@ -8,6 +8,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
rootOpts = {
|
rootOpts = {
|
||||||
|
# Needed for live grep
|
||||||
|
extraPackages = [ pkgs.ripgrep ];
|
||||||
|
|
||||||
# Enable catppuccin colors
|
# Enable catppuccin colors
|
||||||
# https://github.com/catppuccin/nvim/blob/main/lua/catppuccin/groups/integrations/telescope.lua
|
# https://github.com/catppuccin/nvim/blob/main/lua/catppuccin/groups/integrations/telescope.lua
|
||||||
colorschemes.catppuccin.settings.integrations.telescope.enabled = true;
|
colorschemes.catppuccin.settings.integrations.telescope.enabled = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue