Skip to content

Commit f0a1c6a

Browse files
committed
fix(#1858): fire TreeAttachedPost event following on_attach call
1 parent 1830e5e commit f0a1c6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/nvim-tree/view.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ local function create_buffer(bufnr)
9494
end
9595

9696
require("nvim-tree.keymap").on_attach(M.get_bufnr())
97+
98+
events._dispatch_tree_attached_post(M.get_bufnr())
9799
end
98100

99101
local function get_size(size)

0 commit comments

Comments
 (0)