feat(nixvim): install telescope-all-recent plugin

Configuration will be done in the next commit.

[1] https://github.com/prochri/telescope-all-recent.nvim
This commit is contained in:
Khaïs COLIN 2024-08-16 15:06:58 +02:00
parent ea2cdf687f
commit cd53c9bab8
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,4 @@
{ pkgs, ... }:
{
plugins.telescope = {
enable = true;
@ -59,4 +60,18 @@
};
};
};
extraPlugins = [
# frecency ranking
(pkgs.vimUtils.buildVimPlugin {
name = "telescope-all-recent";
src = pkgs.fetchFromGitHub {
owner = "prochri";
repo = "telescope-all-recent.nvim";
rev = "267e9e5fd13a6e9a4cc6ffe00452d446d040401d";
hash = "sha256-EYU7HazKcABAGnJ3iqGqM2n+XTo64L1uqoopL/XuLFg=";
};
})
# dependency for telescope-all-recent: sqlite
pkgs.vimPlugins.sqlite-lua
];
}

View file

@ -0,0 +1 @@
require('telescope').find_files()