Skip to content

Commit

Permalink
fix(term_previewer): save state from opt.setup call (#3254)
Browse files Browse the repository at this point in the history
The merged table return from `vim.tbl_deep_extend` was not being
utilized/assigned.
  • Loading branch information
jamestrew authored Aug 14, 2024
1 parent 159b8b7 commit 68a6d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/previewers/term_previewer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ previewers.new_termopen_previewer = function(opts)
function opts.setup(self)
local state = {}
if opt_setup then
vim.tbl_deep_extend("force", state, opt_setup(self))
state = vim.tbl_deep_extend("force", state, opt_setup(self))
end
return state
end
Expand Down

0 comments on commit 68a6d8e

Please sign in to comment.