fzf.lua compatible hidden scrollbar

This commit is contained in:
Uzzal Devkota 2024-12-18 19:43:28 +05:45 committed by GitHub
parent 28d3ee4970
commit af0223a41b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,9 +89,6 @@ return {
return {
"default-title",
fzf_colors = true,
fzf_opts = {
["--no-scrollbar"] = true,
},
defaults = {
-- formatter = "path.filename_first",
formatter = "path.dirname_first",
@ -115,6 +112,9 @@ return {
winopts = {
title = " " .. vim.trim((fzf_opts.prompt or "Select"):gsub("%s*:%s*$", "")) .. " ",
title_pos = "center",
preview = {
scrollbar = false,
},
},
}, fzf_opts.kind == "codeaction" and {
winopts = {