symbols-outline.nvim
symbols-outline.nvim copied to clipboard
Why are all the references of a single variable listed in the outline?
I am using pylsp
and essentially if the source code references a variable on every line,
then the outline has the same length as the code itself. Which is not really an outline IMHO, but some sort of filtering.
Is this intentional? If yes, the why? Would it be possible to have an option to turn this off?
This is a LSP issue, consider switching to a different python lsp
I shall look around and compare results.
Did you find a more promising Python LSP?
Pyright seems to work correctly. It has most of the features from Pylsp I used except pydocstyle but using null-ls
I was able to fill that in. Here's my lsp config directory if anyone also needs to do the same switch.