Open iwinux opened 7 months ago
This sounds a little out-of-scope (outline.nvim revolves around that sidebar window itself, not "all symbols in general"), and currently I don't see a trivial way to implement this.
That said, I understand that it's simpler for us as users to just install one plugin and have it cover everything (both sidebar and statusline breadcrumb), so I'll leave this up for grabs in case anyone wishes to pursue finding a reasonable way to support it.
When the Outline window is open,
get_symbol()
andget_breadcrumb()
return current symbol (following cursor) correctly. But when the window is closed, these 2 functions only return cached result. I've tried callingfollow_cursor()
andrefresh()
but the symbol information is not updated.Is it possible to refresh it without opening the Outline window? My use case is to display it in status line (managed by lualine).