From 31b8f4bbab4a3700f798aaf82afd4b8087ec58c8 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 21 Feb 2024 14:54:29 +0800 Subject: [PATCH] telescope: add dependencies --- flake.nix | 4 ++++ lua/plugins/telescope.lua | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index a8fd443..fa4cb24 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,10 @@ # mason / tree-sitter gcc cargo + + # telescope + ripgrep + fd ]; in { ### nix {run,shell,build} diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 83605cf..c53e1ca 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -1,6 +1,9 @@ return { "nvim-telescope/telescope.nvim", - dependencies = { "nvim-lua/plenary.nvim" }, + dependencies = { + "nvim-lua/plenary.nvim", + "nvim-tree/nvim-web-devicons", + }, opts = {}, keys = { { "f", "Telescope find_files", desc = "Find files" },