mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 09:18:51 +02:00
fix(fzf): fzf.lua compatible hidden scrollbar (#5177)
## Description <!-- Describe the big picture of your changes to communicate to the maintainers why we should accept this pull request. --> `--no-scrollbar` option is not supported by [fzf-lua](https://github.com/ibhagwan/fzf-lua) The recommended way is to set `winopts.preview.scrollbar=false` ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
This commit is contained in:
parent
28d3ee4970
commit
3a79273f3c
1 changed files with 3 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue