nvim: update fzf-lua ripgrep setup

This commit is contained in:
He4eT 2023-07-11 17:18:18 +03:00
commit 2e1a7c865d

View file

@ -285,14 +285,19 @@ fzf.setup({
syntax_limit_b = 1024 * 64, -- syntax limit (bytes), 0=nolimit syntax_limit_b = 1024 * 64, -- syntax limit (bytes), 0=nolimit
} }
}, },
grep = { },
rg_opts = '--vimgrep --smart-case --max-columns=512', grep = {
file_ignore_patterns = { rg_opts = '--vimgrep --smart-case --max-columns=512' ..
'^node_modules/', ' --color=ansi' ..
'/node_modules/', ' --colors path:fg:yellow' ..
'^.git/', ' --colors line:fg:green' ..
'^.yarn/' ' --colors column:fg:blue' ..
}, ' --colors match:fg:red';
file_ignore_patterns = {
'^node_modules/',
'/node_modules/',
'^.git/',
'^.yarn/'
}, },
}, },
fzf_opts = { fzf_opts = {