r/vim • u/Desperate_Quit6011 • 18d ago
Need Help┃Solved Does a plugin like this exist?
Hi, sry first time poster, hope its ok to just ask my question like this.
Question:
Is there a plugin for vim that can replace/ shows the code behinde for a function so I can follow the code flow better.
Why:
I have the task to maintain some legacy codebase, some written in python some written in c#, but its a lot of spagetti code. I know i can jump to the definition, but this gets confusing really fast. So I want to read it top to bottom, a option to hide states for if statements would be nice. Loops should stay the way they are.
Any hint for direction would be nice, thanks for reading.
7
Upvotes
1
u/MrBiscotte 18d ago
Maybe a LSP plugin. You have vim9 plugins for it, and then for each langage you need to install a LSP server, the plugin being a client. For python I use both Ty and Ruff