@@ -178,7 +178,7 @@ local move_tbl = {
178178function View :setup_tabpage (tabpage , callsite )
179179 local winnr = vim .api .nvim_get_current_win ()
180180
181- if self .explorer .opts .experimental .multi_instance_debug then
181+ if self .explorer .opts .experimental .multi_instance then
182182 log .line (" dev" , " View:setup_tabpage(%3s, %-20.20s) w%d %s" ,
183183 tabpage ,
184184 callsite ,
@@ -451,13 +451,13 @@ function View:set_current_win(callsite)
451451 local current_tab = vim .api .nvim_get_current_tabpage ()
452452 local current_win = vim .api .nvim_get_current_win ()
453453
454- if self .explorer .opts .experimental .multi_instance_debug then
454+ if self .explorer .opts .experimental .multi_instance then
455455 log .line (" dev" , " View:set_current_win(%-20.20s) t%d w%3s->w%3s %s" ,
456456 callsite ,
457457 current_tab ,
458458 globals .TABPAGES [current_tab ].winnr ,
459459 current_win ,
460- (globals .TABPAGES [current_tab ].winnr == current_win ) and " " or " UPDATED "
460+ (globals .TABPAGES [current_tab ].winnr == current_win ) and " " or " MISMATCH "
461461 )
462462 end
463463
576576--- @param callsite string for logging purposes
577577--- @return number | nil
578578function View :get_winnr (tabpage , callsite )
579- if self .explorer .opts .experimental .multi_instance_debug then
579+ if self .explorer .opts .experimental .multi_instance then
580580 local msg = string.format (" View:get_winnr(%3s, %-20.20s)" , tabpage , callsite )
581581
582582 tabpage = tabpage or vim .api .nvim_get_current_tabpage ()
625625--- @return number
626626function View :get_bufnr (callsite )
627627 local tab = vim .api .nvim_get_current_tabpage ()
628- if self .explorer .opts .experimental .multi_instance_debug then
628+ if self .explorer .opts .experimental .multi_instance then
629629 log .line (" dev" , " View:get_bufnr(%-20.20s) t%d global b%s member b%s %s" ,
630630 callsite ,
631631 tab ,
@@ -652,7 +652,7 @@ function View:prevent_buffer_override()
652652 if not bufname :match (" NvimTree" ) then
653653 for i , tabpage in ipairs (globals .TABPAGES ) do
654654 if tabpage .winnr == view_winnr then
655- if self .explorer .opts .experimental .multi_instance_debug then
655+ if self .explorer .opts .experimental .multi_instance then
656656 log .line (" dev" , " View:prevent_buffer_override() t%d w%d clearing" , i , view_winnr )
657657 end
658658
0 commit comments