Create sidebar and then dynamically load the data #111
Unanswered
linrongbin16
asked this question in
Help
Replies: 1 comment 2 replies
-
Hi, I can't reproduce this. When I open a Lua file and immediately open outline, it waits until LSP is ready until the sidebar is opened. What's your outline.nvim config? I'm converting this to discussion for now until the bug is verified. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hi, we have such a use case:
I open
nvim
editor in my nvim config folder, and open theinit.lua
file. Then the lua-language-server starts, at the same time, I press<leader>ol
(mapped to:Outline
command) to try to open the outline sidebar.The plugin will not open the sidebar, but showing some error message: “There's no symbols“ (sorry I don't remember the exactly words).
Because the LuaLs is still initializing and not done.
My proposal is: can we allow the sidebar open, and showing a simple icon spinning, wait for lsp initialized and update/show the view when the lsp symbols is done.
Beta Was this translation helpful? Give feedback.
All reactions