Skip to content

Commit 607afd3

Browse files
committed
fzf-lua: read rg config from env
1 parent ac613ca commit 607afd3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lua/config/fzf-lua.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ require("fzf-lua").setup {
1515
-- and https://www.reddit.com/r/linuxquestions/comments/zycvud/ripgrep_respect_gitignore_but_show_env_files/
1616
no_ignore = false,
1717
},
18+
grep = {
19+
RIPGREP_CONFIG_PATH = vim.env.RIPGREP_CONFIG_PATH,
20+
},
1821
}
1922

2023
vim.keymap.set("n", "<leader>ff", "<cmd>FzfLua files<cr>", { desc = "Fuzzy find files" })

0 commit comments

Comments
 (0)