Open TroySigX opened 1 year ago
same with python file. the preview is wrong (with K), but the "hover current symbol" is correct (with Ctrl+Space)
@Djedouas @TroySigX What providers are you using? It works well for me using either LSP or markdown.
@hedyhli I'm new to neovim, what do you mean by "provider"?
I wonder if my problem is https://github.com/simrat39/symbols-outline.nvim/issues/176 in fact
@hedyhli with LunarVim, I guess the provider is LSP (I chose jedi-language-server)
but it may be treesitter
what do you mean by "provider"?
symbols-outline supports a few "backends"/"providers" -- where those symbols in the outline come from. It's either CoC or LSP at the moment (unless you're editing a markdown file, then it's markdown).
I guess the provider is LSP
Alright 👍, then if not for #176, the live-previewing should work as expected.
Speaking of which, since simrat39 is not responding to PRs and issues at the moment, feel free to try out my fork in the meantime. I fixed the preview issue there and also along with many other issues. Details of all the new features and the bug fixes are listed in the readme.
If you want to switch to my fork you have to change the plugin spec from "simrat39/symbols-outline.nvim" to "hedyhli/symbols-outline.nvim".
I have the following cpp file:
Open
outline
withauto_preview
and expanded, when previewingFunction
(7-th line inouline
list), the preview window navigates to Output, which is wrong. The issue doesn't only happen to cpp files, but also to typescript files and possibly more filetypes.