mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
nvim: fzf: set limits
This commit is contained in:
parent
ab246ed769
commit
c69d8f2031
1 changed files with 9 additions and 1 deletions
|
|
@ -340,7 +340,15 @@ fzf.setup({
|
||||||
border = 'single',
|
border = 'single',
|
||||||
fullscreen = true,
|
fullscreen = true,
|
||||||
|
|
||||||
|
previewers = {
|
||||||
|
builtin = {
|
||||||
|
syntax = true,
|
||||||
|
syntax_limit_b = 1024*64, -- syntax limit (bytes), 0=nolimit
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
grep = {
|
grep = {
|
||||||
|
rg_opts = "--vimgrep --smart-case --max-columns=512",
|
||||||
file_ignore_patterns = {
|
file_ignore_patterns = {
|
||||||
"^node_modules/",
|
"^node_modules/",
|
||||||
"/node_modules/",
|
"/node_modules/",
|
||||||
|
|
@ -350,7 +358,7 @@ fzf.setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
fzf_opts = {
|
fzf_opts = {
|
||||||
['--border'] = false
|
['--border'] = 'none'
|
||||||
},
|
},
|
||||||
fzf_colors = {
|
fzf_colors = {
|
||||||
["fg"] = { "fg", "CursorLine" },
|
["fg"] = { "fg", "CursorLine" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue