symbols-outline.nvim icon indicating copy to clipboard operation
symbols-outline.nvim copied to clipboard

[bugs] There are some bugs that affect the experience.

Open cstsunfu opened this issue 3 years ago • 2 comments

This plugin is by far the best I've found to work with buitin lsp. But this plugin also reported the most errors during use.

The first one, when the LSP is not ready, calls the SymbolsOutline command twice. Due to asynchronous execution, an error will be reported the second time. image

This could fix this: image

The second issue is that when I frequently use wincmd to switch between outline and code, this plugin will report errors very frequently. image

Since I'm not professional with this lua nor neovim, I can only mitigate this problem for me by doing the following. image

The third issue is that when I use it without opening any markdown files, I don't know why a markdown-related error is reported.

image

Thank you very much for your awesome plugin, since I'm not professional enough, I can't fully handle these issues. I hope you can take a look at these issues in your leisure.

cstsunfu avatar May 22 '22 13:05 cstsunfu

You can try aerial.nvim which is more actively maintained.

rockyzhang24 avatar May 24 '22 03:05 rockyzhang24

The first one, when the LSP is not ready, calls the SymbolsOutline command twice. Due to asynchronous execution, an error will be reported the second time.

This is fixed by #235.

You should try aerial.nvim linked in above comment for the time being (before simrat39 comes back) or if you wish to continue using symbols-outline.nvim config, I've been maintaining a fork which fixes a lot of other issues and added a few features (see readme for details of all the changes).

If you're using the latter, do let me know if your second and third issues are fixed :)

hedyhli avatar Nov 02 '23 12:11 hedyhli