Skip to content

Commit

Permalink
fix(fzflua): Wrap long lines in preview
Browse files Browse the repository at this point in the history
  • Loading branch information
liskin authored and deathbeam committed Nov 6, 2024
1 parent 1137c92 commit 760d291
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/CopilotChat/integrations/fzflua.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ function M.pick(pick_actions, opts)
preview = function(items)
return pick_actions.actions[items[1]].prompt
end,
winopts = {
preview = {
wrap = 'wrap',
},
},
actions = {
['default'] = function(selected)
if not selected or vim.tbl_isempty(selected) then
Expand Down

0 comments on commit 760d291

Please sign in to comment.