0

I am looking to color the parentheses in Python and other languages and the the tags in HTML. But the thing is, I want the parentheses at different levels to be colored differently.

Basically, I am looking for a Visual Studio Code-like feature that would make the code more readable.

Does such a feature exist in Vim? If not, how can I add it?

I use the non-GUI (terminal) Vim.

2
  • Plugin request are not valid question in this site. But you can reformulate your demand without mentioning plugins request and answer can suggest plugins as an answer :-)
    – Vivian De Smedt
    Commented Mar 2 at 9:27
  • Do you still have something open in your question? How can we help you further? Otherwise maybe could you accept one of the solutions using the v button next to the arrow voting buttons? It allow the question to rest :-)
    – Vivian De Smedt
    Commented Mar 6 at 5:45

1 Answer 1

0

You could be interested by the following plugins:

In the seek of identifying matching parenthesis you could also be interested to:

  • vim-matchup
  • matchit (now part of the standard Vim with the runtime macros/matchit.vim command)
2
  • Thanks for the suggestion. I did stumble across this plugin a while ago, however, after browsing the internet for a while, I could only find references to it that were a few years old. Thus, I was bit hesitant in downloading it. Is it still well known/widely used? Have you used it? and if so, then how was your experince?
    – Guest User
    Commented Mar 2 at 9:33
  • It has 1.8k stars in GitHub which makes it among the popular Vim plugin. I have tested it but never used it personally for a large period of time. In my experience it works flawless :-)
    – Vivian De Smedt
    Commented Mar 2 at 9:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.