Replies: 1 comment
-
It seems that when you call the neotree command, the neovim APIs are still reporting that the first tab is focused even though you have issued the vimscript command to change tabs. Have you try using the lua api instead? If what you want is to have the tree open in all tabs, it might be a better option to just run that command with an autocmd that runs after you switch tabs. |
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
-
local function openNeotree()
local tabs = vim.fn.gettabinfo()
it does not work, just will open neotree in first tab.
Beta Was this translation helpful? Give feedback.
All reactions