Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat(snacks): enable text wrapping in preview window
  • Loading branch information
tku137 committed Jan 21, 2025
commit dd5945c74b665566c53d629bc1c6eb28ece8375e
8 changes: 8 additions & 0 deletions lua/CopilotChat/integrations/snacks.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ function M.pick(pick_actions, opts)
}
end, vim.tbl_keys(pick_actions.actions)),
preview = 'preview',
win = {
preview = {
wo = {
wrap = true,
linebreak = true,
},
},
},
title = pick_actions.prompt,
confirm = function(picker)
local selected = picker:current()
Expand Down