config(nvim): enable wrap for fzf-lua

main
sudo pacman -Syu 2024-02-28 15:52:15 +07:00
parent 8a717627e3
commit 1ebf448faf
1 changed files with 8 additions and 1 deletions

View File

@ -137,7 +137,14 @@ require("lazy").setup({
"neovim/nvim-lspconfig",
},
config = function()
require("fzf-lua").setup({ "fzf-native" })
require("fzf-lua").setup({
"fzf-native",
winopts = {
preview = {
wrap = "wrap",
},
},
})
vim.keymap.set("n", "<Leader>f", ":FzfLua files<CR>")
vim.keymap.set("n", "<Leader>l", ":FzfLua blines<CR>")