feat: Use augroup
I had no idea augroup does all I tried to do with `self.autocmds`. Oh well. Also added sidebar.id, which is one step closer to #25
This commit is contained in:
@@ -131,7 +131,7 @@ function M.open_outline(opts)
|
||||
local sidebar = M.sidebars[tab]
|
||||
|
||||
if not sidebar then
|
||||
sidebar = Sidebar:new()
|
||||
sidebar = Sidebar:new(tab)
|
||||
M.sidebars[tab] = sidebar
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user