Files
nixos/pkgs/neovim/custom/telescope.nix
T
biscuit d9fdab315c test
2025-05-27 17:36:09 -05:00

40 lines
919 B
Nix

{
config,
lib,
pkgs,
...
}: {
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];
}