mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-04-13 16:18:36 +00:00
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 '%'.
This commit is contained in:
parent
0fc84ed868
commit
edbadf5d5a
2 changed files with 2 additions and 1 deletions
|
@ -316,6 +316,7 @@
|
|||
|
||||
- Fix oil config referencing snacks
|
||||
- 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):
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
file_ignore_patterns = mkOption {
|
||||
description = "A table of lua regex that define the files that should be ignored.";
|
||||
type = listOf str;
|
||||
default = ["node_modules" ".git/" "dist/" "build/" "target/" "result/"];
|
||||
default = ["node_modules" "%.git/" "dist/" "build/" "target/" "result/"];
|
||||
};
|
||||
color_devicons = mkOption {
|
||||
description = "Boolean if devicons should be enabled or not.";
|
||||
|
|
Loading…
Add table
Reference in a new issue