mirror of
https://github.com/neovim/neovim.git
synced 2026-11-03 12:49:53 -06:00
fix(treesitter): inspect-tree remember opts on buf change
This commit is contained in:
1 parent
1d5f86f694
commit
6c8387067d
1 file changed
+2
@@ -460,7 +460,9 @@ function M.inspect_tree(opts)
|
||||
return true
|
||||
end
|
||||
|
||||
local treeview_opts = treeview.opts
|
||||
treeview = assert(TSTreeView:new(buf, opts.lang))
|
||||
treeview.opts = treeview_opts
|
||||
treeview:draw(b)
|
||||
end,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user