You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you mean promoting the use of native apis so for example vim.api.nvim_tabpage_get_number(tab_id) instead of api.get_tab_number ? So deprecating tabby functions that do nothing more than calling nvim APIs ?
It would be good cause for a long time I didn't now many functions such as get_tab_number did nothing more than calling native APIs.
It's problematic because I thought I needed the tabby API for that and many others things. Which made everything more complex because sometimes I need to compute some stuff asynchronously (via jobstart etc.) and so I don't have access to the object line asynchronously for example
Also it made understanding the difference betwen tab id and tab number much harder because tabby is obviously less documented than neovim APIs. So I struggled for a long time understanding how to use things like vim.fn.getcwd. It's as simple as passing it the tab number. You can get the line number with nvim_tabpage_get_number but because there is so much tabby wrapper it was hard to understand.
Considering that nvim 0.5.0 has been out for quite a while now, maybe it's time to completely refactor the plugin with the lua api
The text was updated successfully, but these errors were encountered: