symbols-outline.nvim
symbols-outline.nvim copied to clipboard
Why is there no hierarchy
vim:
vscode:
Why is there no hierarchy, The Settings are default
Which language server are you using? I have a hierarchy with tsserver.
I also have this issue on Python and Rust
I have coc-rls
and coc-pyright
installed
So this is a coc specific issue it seems like, i'll bring it up with the coc guys
Using pylsp
for python in Neovim's lsp and no hierarchy, all symbols are messed up. Also tried tsserver
, still no hierarchy in a ts project.
I only tried pylsp
but I had no hierarchy either.
Same issue, I'm using pylsp
through the normal client and then some other checkers such as Mypy through null-ls
.
It seems to be a pylsp
implementation issue, switch to Pyright seemed to fix it #106
Is there further information on what is missing/wrong from pylsp
? Unfortunately pyright isn't an appropriate solution for me.
Pyright was also too slow for me, I switched to just jedi-language-server
instead, works really well. Again, most other external tools like linting and typing can be done through null-ls
. They've extended their support to accommodate all the tools I use by this point.
In terms of what's missing, I believe the diagnostics information returned by pylsp lacked information on node-heirarchy when responding to requests from nvim
but I forgot how that was encoded.
Until #181 is merged you can try this instead:
use {
"rbjorklin/symbols-outline.nvim",
branch = "fix-outline-detection"
}