From c794974b206815c9714db9fd186fdcbdbc60dd8e Mon Sep 17 00:00:00 2001 From: biscuit Date: Mon, 2 Jun 2025 13:32:32 -0500 Subject: [PATCH] fx --- pkgs/neovim/custom/telescope.nix | 30 +----------------------------- pkgs/neovim/default.nix | 2 +- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/pkgs/neovim/custom/telescope.nix b/pkgs/neovim/custom/telescope.nix index 184cb1c..8f6f3bc 100644 --- a/pkgs/neovim/custom/telescope.nix +++ b/pkgs/neovim/custom/telescope.nix @@ -4,36 +4,8 @@ pkgs, ... }: { + plugins.web-devicons.enable = true; plugins.telescope = { enable = true; - extensions = { - fzf-native = { - enable = true; - }; - }; - settings = { - defaults = { - vimgrep_arguments = ["${pkgs.ripgrep}/bin/rg" "-L" "--color=never" "--no-heading" "--with-filename" "--line-number" "--column" "--smart-case" "--fixed-strings"]; - selection_caret = " "; - entry_prefix = " "; - layout_strategy = "flex"; - layout_config = { - horizontal = { - prompt_position = "top"; - }; - }; - sorting_strategy = "ascending"; - file_ignore_patterns = ["^.git/" "^.mypy_cache/" "^__pycache__/" "^output/" "^data/" "%.ipynb"]; - set_env.COLORTERM = "truecolor"; - }; - - pickers = { - colorscheme = { - enable_preview = true; - }; - }; - }; }; - - extraPackages = with pkgs; [ripgrep]; } diff --git a/pkgs/neovim/default.nix b/pkgs/neovim/default.nix index af72f5e..0d0c3c0 100644 --- a/pkgs/neovim/default.nix +++ b/pkgs/neovim/default.nix @@ -21,7 +21,7 @@ in { programs.neovim.enable = true; programs.nixvim = { imports = [ - # ./custom/dashboard.nix + ./custom/dashboard.nix ./custom/telescope.nix ]; enable = true;