From 72f3e4877ca33c1679ab138ea47ce7bba1e42218 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 23 Aug 2025 12:38:45 +0200 Subject: [PATCH] nvim: Default to wrapping in fzf-lua preview By default we wrap the contents. This will slightly worsen some coding previews, but greatly improve the default preview for text files. We will see if it makes sense to keep over time but this makes more sense to me right now -- especially with zk.nvim using fzf-lua as preview provider. --- nvim/.config/nvim/lua/plugins/pickers.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nvim/.config/nvim/lua/plugins/pickers.lua b/nvim/.config/nvim/lua/plugins/pickers.lua index 9f61afc..10ad16d 100644 --- a/nvim/.config/nvim/lua/plugins/pickers.lua +++ b/nvim/.config/nvim/lua/plugins/pickers.lua @@ -101,6 +101,11 @@ return { -- file/item pickers and managers }, }, }, + winopts = { + preview = { + wrap = true + } + }, defaults = { jump1 = false, },