Compare commits

..

4 commits

Author SHA1 Message Date
raf
585dfca7ca
Merge pull request #804 from ckoehler/fix-telescope-ignore
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
utility/telescope: fix ignore patterns
2025-04-06 05:35:53 +00:00
Christoph Koehler
edbadf5d5a
fix: telescope ignore patterns
".git" is a regex, so because of the '.' it matches more than just
the .git directory, so escape the dot to make it literal. Here, that's
done with a '%'.
2025-04-05 23:22:02 -06:00
raf
d407efa323
Merge pull request #803 from venkyr77/fzf-lua-type-fix
utility/fzf-lua: fix type for fzf-bin
2025-04-06 05:19:35 +00:00
Venkatesan Ravi
2ef9022b58 utility/fzf-lua: fix type for fzf-bin 2025-04-06 05:15:41 +00:00
3 changed files with 5 additions and 4 deletions

View file

@ -318,6 +318,7 @@
- Fix oil config referencing snacks - Fix oil config referencing snacks
- Add [flash.nvim] plugin to `vim.utility.motion.flash-nvim` - Add [flash.nvim] plugin to `vim.utility.motion.flash-nvim`
- Fix default telescope ignore list entry for '.git/' to properly match
[rrvsh](https://github.com/rrvsh): [rrvsh](https://github.com/rrvsh):

View file

@ -4,7 +4,7 @@
pkgs, pkgs,
... ...
}: let }: let
inherit (lib.types) enum package; inherit (lib.types) enum str;
inherit (lib.options) mkEnableOption mkOption; inherit (lib.options) mkEnableOption mkOption;
inherit (lib.nvim.types) mkPluginSetupOption borderType; inherit (lib.nvim.types) mkPluginSetupOption borderType;
in { in {
@ -12,9 +12,9 @@ in {
enable = mkEnableOption "fzf-lua"; enable = mkEnableOption "fzf-lua";
setupOpts = mkPluginSetupOption "fzf-lua" { setupOpts = mkPluginSetupOption "fzf-lua" {
fzf_bin = mkOption { fzf_bin = mkOption {
type = package; type = str;
default = "${lib.getExe pkgs.fzf}"; default = "${lib.getExe pkgs.fzf}";
description = "fzf package to use"; description = "Path to fzf executable";
}; };
winopts.border = mkOption { winopts.border = mkOption {
type = borderType; type = borderType;

View file

@ -117,7 +117,7 @@
file_ignore_patterns = mkOption { file_ignore_patterns = mkOption {
description = "A table of lua regex that define the files that should be ignored."; description = "A table of lua regex that define the files that should be ignored.";
type = listOf str; type = listOf str;
default = ["node_modules" ".git/" "dist/" "build/" "target/" "result/"]; default = ["node_modules" "%.git/" "dist/" "build/" "target/" "result/"];
}; };
color_devicons = mkOption { color_devicons = mkOption {
description = "Boolean if devicons should be enabled or not."; description = "Boolean if devicons should be enabled or not.";