mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
nvim: update fzf-lua ripgrep setup
This commit is contained in:
parent
be6fd70539
commit
2e1a7c865d
1 changed files with 13 additions and 8 deletions
|
|
@ -285,8 +285,14 @@ fzf.setup({
|
||||||
syntax_limit_b = 1024 * 64, -- syntax limit (bytes), 0=nolimit
|
syntax_limit_b = 1024 * 64, -- syntax limit (bytes), 0=nolimit
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
},
|
||||||
grep = {
|
grep = {
|
||||||
rg_opts = '--vimgrep --smart-case --max-columns=512',
|
rg_opts = '--vimgrep --smart-case --max-columns=512' ..
|
||||||
|
' --color=ansi' ..
|
||||||
|
' --colors path:fg:yellow' ..
|
||||||
|
' --colors line:fg:green' ..
|
||||||
|
' --colors column:fg:blue' ..
|
||||||
|
' --colors match:fg:red';
|
||||||
file_ignore_patterns = {
|
file_ignore_patterns = {
|
||||||
'^node_modules/',
|
'^node_modules/',
|
||||||
'/node_modules/',
|
'/node_modules/',
|
||||||
|
|
@ -294,7 +300,6 @@ fzf.setup({
|
||||||
'^.yarn/'
|
'^.yarn/'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
fzf_opts = {
|
fzf_opts = {
|
||||||
['--border'] = 'none',
|
['--border'] = 'none',
|
||||||
['--preview-window'] = 'border-sharp',
|
['--preview-window'] = 'border-sharp',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue