Skip to content

Commit

Permalink
fix(renderer): supply state.bufnr to tree on initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
pysan3 committed Mar 20, 2024
1 parent 19e3319 commit 7e1c333
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/neo-tree/ui/renderer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@ create_tree = function(state)
state.tree = NuiTree({
ns_id = highlights.ns_id,
winid = state.winid,
bufnr = state.bufnr,
get_node_id = function(node)
return node.id
end,
Expand Down

0 comments on commit 7e1c333

Please sign in to comment.