Hello all,
Have plans to do a semantic highlighting support? For example, look at this cpp
source code:
#define SQR(i) ((i)*(i))
int sqr(int i) { return i * i; }
int main() {
{
class sqr{};
sqr foo = sqr();
}
int (*bar)(int) = sqr;
return bar(SQR(2));
}
SQR, sqr, sqr in scope and bar, are highlighted with different colors in
KDevelop. However, in VIM, all these identifiers have same color. CMIIW, there
is no way (include plugin) to do this in VIM. Would vim provide a API to color
each identifier in the source code? So someone (maybe me) will write a vim
plugin to parser the C++ code and help vim to highlight it.
Regards,
Tianjiao
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.