refactor(#2826): singleton View class, WIP

This commit is contained in:
Alexander Courtis
2025-04-20 14:28:44 +10:00
parent 0a04e435b1
commit f098195667
9 changed files with 70 additions and 71 deletions

View File

@@ -13,7 +13,7 @@ local M = {
function M.set_target_win()
local id = vim.api.nvim_get_current_win()
local tree_id = view.get_winnr()
local tree_id = view.View:get_winnr()
if tree_id and id == tree_id then
M.target_winid = 0
return