4

I have a question regarding if a vim plugin exists. I googled it and couldn't find anything so I thought maybe I used the wrong key terms in my search. Recently I read this article https://medium.com/p/3a6db2743a1e about semantic coloring where each unique variable/function/etc. name has one color assigned to it. So my question would be, is there a vim plugin that does this at least for C/C++?

refikh
  • 41
  • 1
  • 6

1 Answers1

4

This idea is commonly promoted by Douglas Crockford, well-known JavaScript guru and maintainer of JSLint. He added the beginnings of this idea to JSLint last year. Since his proposal is in JavaScript and for JavaScript, I only know of this being available in JavaScript.

There is a plugin for JavaScript context coloring in vim. However, I don't believe anything exists for C/C++.

Kara
  • 6,115
  • 16
  • 50
  • 57
Conner
  • 30,144
  • 8
  • 52
  • 73
  • Hi Conner, thanks for your reply. Basically that's the idea if there would be only context coloring for C/C++. Thank you for your reply and basically giving me the correct names of this concept so that I can further search! – refikh Jan 29 '14 at 08:53