liuchengxu / vista.vim

:cactus: Viewer & Finder for LSP symbols and tags

Home Page:https://liuchengxu.github.io/vista.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I hide all variables in the sidebar?

zhong-yy opened this issue · comments

Hi, thank you for developing such a useful tool. But I have some problems when using it with python files.

(1) For a python file, all variable are shown in the sidebar, but I only care about class names and associated methods. The variables are kind of distracting.

(2) Is there any way to navigate between the same kind of symbols? For example, when the cursor is on a class name, can I jump to the next class quickly?

Describe the solution you'd like
1

commented

Try to fold them with zm or za?

Try to fold them with zm or za?

Thank you for the suggestion. It can be a workaround, but not all Function names within a Class are displayed after I fold them

I solved this by using :CocOutline as a substitute, which is very handy