File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,9 +102,6 @@ local get_maker = function(opts)
102102 return maker
103103end
104104
105- -- TODO: We shoudl make sure that all our terminals close all the way.
106- -- Otherwise it could be bad if they're just sitting around, waiting to be closed.
107- -- I don't think that's the problem, but it could be?
108105previewers .new_termopen_previewer = function (opts )
109106 opts = opts or {}
110107
@@ -192,7 +189,7 @@ previewers.new_termopen_previewer = function(opts)
192189
193190 local prev_bufnr = get_bufnr_by_bufentry (self , entry )
194191 if prev_bufnr then
195- self . state . termopen_bufnr = prev_bufnr
192+ set_bufnr ( self , prev_bufnr )
196193 utils .win_set_buf_noautocmd (preview_winid , self .state .termopen_bufnr )
197194 self .state .termopen_id = term_ids [self .state .termopen_bufnr ]
198195 else
You can’t perform that action at this time.
0 commit comments