From a2c5fb2ded18149a7a7e4e84e96573e27cce05d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Mon, 6 Oct 2025 14:58:53 +0200 Subject: [PATCH] chore: use builtin toggle_ignore_flag for fzf-lua config --- lua/plugins/fzf_lua.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/plugins/fzf_lua.lua b/lua/plugins/fzf_lua.lua index 5f23ab1..43fe829 100644 --- a/lua/plugins/fzf_lua.lua +++ b/lua/plugins/fzf_lua.lua @@ -7,12 +7,11 @@ later(function() fzf.setup({ files = { no_ignore = true, - rg_opts = [[--color=never --hidden --no-ignore-vcs --files -g "!.git"]], - fd_opts = [[--color=never --hidden --type f --type l --ignore-file .ignore --exclude .git]], + toggle_ignore_flag = "--no-ignore-vcs", }, grep = { no_ignore = true, - rg_opts = "--column --hidden --no-ignore-vcs --line-number --no-heading --color=always --smart-case --max-columns=4096 -e", + toggle_ignore_flag = "--no-ignore-vcs", }, })