diff --git a/config/nvim/nifoc/telescope.fnl b/config/nvim/nifoc/telescope.fnl index a6314f1..9653734 100644 --- a/config/nvim/nifoc/telescope.fnl +++ b/config/nvim/nifoc/telescope.fnl @@ -2,15 +2,16 @@ builtin (require :telescope.builtin) themes (require :telescope.themes)] (fn mod.find-files [] - (let [find-opts (themes.get_ivy {:find_command [:rg - :--files + (let [find-opts (themes.get_ivy {:find_command [:fd :--hidden :--ignore-vcs :-L - :-g - :!.git/* - :-g - :!node_modules/*]})] + :--color + :never + :--exclude + :.git + :--exclude + :node_modules]})] (builtin.find_files find-opts))) (fn mod.project-files [] diff --git a/config/nvim/plugins/telescope.fnl b/config/nvim/plugins/telescope.fnl index 9a83efe..6e0cea7 100644 --- a/config/nvim/plugins/telescope.fnl +++ b/config/nvim/plugins/telescope.fnl @@ -5,7 +5,7 @@ :prompt_prefix " " :selection_caret " " :set_env {:COLORTERM :truecolor} - :path_display [:smart :absolute] + :path_display [:truncate :absolute] ; Layout :layout_strategy :horizontal :layout_config {:horizontal {:preview_width 0.5}} diff --git a/programs/nvim/default.nix b/programs/nvim/default.nix index 957733f..ddca529 100644 --- a/programs/nvim/default.nix +++ b/programs/nvim/default.nix @@ -31,6 +31,7 @@ in git nodejs tree-sitter + fd ripgrep # LSP