Is there any way to show the function’s scope, I mean {…}, in Vim?
I use Eclipse ADT, and found that it can do it and it is a very good feature.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One way to see function scope is to use folding (
:help fold) and thefoldcolumnoption will provide a representation of where the folds are.Another useful scope feature is [{ and ]}, which jump backward and forward to the next level of braces.
The other useful method if you’re having trouble seeing the limits of a function’s scope is to make your functions smaller 🙂