File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,6 @@ local get_maker = function(opts)
102
102
return maker
103
103
end
104
104
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?
108
105
previewers .new_termopen_previewer = function (opts )
109
106
opts = opts or {}
110
107
@@ -192,7 +189,7 @@ previewers.new_termopen_previewer = function(opts)
192
189
193
190
local prev_bufnr = get_bufnr_by_bufentry (self , entry )
194
191
if prev_bufnr then
195
- self . state . termopen_bufnr = prev_bufnr
192
+ set_bufnr ( self , prev_bufnr )
196
193
utils .win_set_buf_noautocmd (preview_winid , self .state .termopen_bufnr )
197
194
self .state .termopen_id = term_ids [self .state .termopen_bufnr ]
198
195
else
You can’t perform that action at this time.
0 commit comments