fix ignores
This commit is contained in:
parent
b3dbdf3f73
commit
c9d13bb1cc
1 changed files with 11 additions and 9 deletions
|
|
@ -30,20 +30,19 @@ return {
|
||||||
},
|
},
|
||||||
defaults = {
|
defaults = {
|
||||||
file_ignore_patterns = {
|
file_ignore_patterns = {
|
||||||
"node_modules",
|
"^dist/",
|
||||||
|
"^build/",
|
||||||
|
"target/",
|
||||||
|
"node_modules/",
|
||||||
"package-lock.json",
|
"package-lock.json",
|
||||||
"target",
|
".git/",
|
||||||
".git",
|
".direnv/",
|
||||||
".direnv",
|
".aider/",
|
||||||
".pytest_cache",
|
".pytest_cache",
|
||||||
"__pycache__",
|
"__pycache__",
|
||||||
".venv",
|
".venv",
|
||||||
"venv",
|
"venv$",
|
||||||
".mypy_cache",
|
".mypy_cache",
|
||||||
"dist",
|
|
||||||
"build",
|
|
||||||
"poackage-lock.json",
|
|
||||||
".aider*",
|
|
||||||
},
|
},
|
||||||
mappings = {
|
mappings = {
|
||||||
i = {
|
i = {
|
||||||
|
|
@ -122,6 +121,7 @@ return {
|
||||||
"<leader>ff",
|
"<leader>ff",
|
||||||
function()
|
function()
|
||||||
require("telescope.builtin").find_files({
|
require("telescope.builtin").find_files({
|
||||||
|
cwd = vim.fn.getcwd(),
|
||||||
hidden = true,
|
hidden = true,
|
||||||
follow = true,
|
follow = true,
|
||||||
no_ignore = true,
|
no_ignore = true,
|
||||||
|
|
@ -134,6 +134,7 @@ return {
|
||||||
"<leader>fg",
|
"<leader>fg",
|
||||||
function()
|
function()
|
||||||
require("telescope.builtin").git_files({
|
require("telescope.builtin").git_files({
|
||||||
|
cwd = vim.fn.getcwd(),
|
||||||
hidden = true,
|
hidden = true,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
@ -145,6 +146,7 @@ return {
|
||||||
U.cmd_executable("rg", {
|
U.cmd_executable("rg", {
|
||||||
function()
|
function()
|
||||||
require("telescope.builtin").live_grep({
|
require("telescope.builtin").live_grep({
|
||||||
|
cwd = vim.fn.getcwd(),
|
||||||
hidden = true,
|
hidden = true,
|
||||||
follow = true,
|
follow = true,
|
||||||
no_ignore = true,
|
no_ignore = true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue