Replies: 1 comment
-
I don't quite understand a use case, however you could use an autocmd to achieve your goal. Maybe something like vim.api.nvim_create_autocmd("BufReadPost", {
callback = function(data)
local api = require("nvim-tree.api")
api.tree.open()
end,
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to automatically open the tree every time you open a file
Beta Was this translation helpful? Give feedback.
All reactions