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
Is your feature request related to a problem? Please describe.
I'm making a dashboard that will call an LLM to generate some random fact every time i open up nvim, but there doesn't seem to be a way to add a callback for later update. Since waiting for the LLM to response will take about 3-4 seconds and the whole dashboard will be block from loading.
Describe the solution you'd like
An example implementation or an expose api of some kind to update the dashboard asynchronously like logo, footer,...
Additional context
Dashboard with random fact:
Dashboard while loading:
I try to inject asynchronously into the buffer using vim.api.nvim_buf_set_lines but it doesn't follow the theme of the dashboard and the actual fact will disappear for any changes of the window size.
Any suggestion appreciated since i'm still new as this and wonder if this is even possible.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm making a dashboard that will call an LLM to generate some random fact every time i open up nvim, but there doesn't seem to be a way to add a callback for later update. Since waiting for the LLM to response will take about 3-4 seconds and the whole dashboard will be block from loading.
Describe the solution you'd like
An example implementation or an expose api of some kind to update the dashboard asynchronously like logo, footer,...
Additional context
Dashboard with random fact:
Dashboard while loading:
I try to inject asynchronously into the buffer using
vim.api.nvim_buf_set_lines
but it doesn't follow the theme of the dashboard and the actual fact will disappear for any changes of the window size.Any suggestion appreciated since i'm still new as this and wonder if this is even possible.
The text was updated successfully, but these errors were encountered: