mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fzf.lua compatible hidden scrollbar
This commit is contained in:
parent
28d3ee4970
commit
af0223a41b
1 changed files with 3 additions and 3 deletions
|
|
@ -89,9 +89,6 @@ return {
|
||||||
return {
|
return {
|
||||||
"default-title",
|
"default-title",
|
||||||
fzf_colors = true,
|
fzf_colors = true,
|
||||||
fzf_opts = {
|
|
||||||
["--no-scrollbar"] = true,
|
|
||||||
},
|
|
||||||
defaults = {
|
defaults = {
|
||||||
-- formatter = "path.filename_first",
|
-- formatter = "path.filename_first",
|
||||||
formatter = "path.dirname_first",
|
formatter = "path.dirname_first",
|
||||||
|
|
@ -115,6 +112,9 @@ return {
|
||||||
winopts = {
|
winopts = {
|
||||||
title = " " .. vim.trim((fzf_opts.prompt or "Select"):gsub("%s*:%s*$", "")) .. " ",
|
title = " " .. vim.trim((fzf_opts.prompt or "Select"):gsub("%s*:%s*$", "")) .. " ",
|
||||||
title_pos = "center",
|
title_pos = "center",
|
||||||
|
preview = {
|
||||||
|
scrollbar = false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}, fzf_opts.kind == "codeaction" and {
|
}, fzf_opts.kind == "codeaction" and {
|
||||||
winopts = {
|
winopts = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue