parent
c8a764b3a1
commit
1f1aed36bd
@ -84,9 +84,13 @@ function Sidebar:open()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Sidebar:close()
|
function Sidebar:close()
|
||||||
|
if self.renderer ~= nil then
|
||||||
self.renderer:close()
|
self.renderer:close()
|
||||||
|
end
|
||||||
|
if self.code ~= nil and api.nvim_win_is_valid(self.code.win) then
|
||||||
fn.win_gotoid(self.code.win)
|
fn.win_gotoid(self.code.win)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
---@return boolean
|
---@return boolean
|
||||||
function Sidebar:focus()
|
function Sidebar:focus()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user