rakr / vim-one

Adaptation of one-light and one-dark colorschemes for Vim
MIT License
1.99k stars 196 forks source link

constants in C are formatted like strings #36

Closed rumpelsepp closed 7 years ago

rumpelsepp commented 7 years ago

"keywords" like NULL, stderr, ... in C are formatted like strings. This is a bit confusing.

screenshot from 2017-02-22 10-00-36

In atom it looks like this:

screenshot from 2017-02-22 10-02-13

Do you mind chaning it?


I also saw, that atom treats struct members differently. Stuff like this:

s->bla = 5;

atom screenshot from 2017-02-22 10-04-09

vim

screenshot from 2017-02-22 10-04-31


edit: look at the first screenshot. There are even more differences. e.g. the datetypes do not match.

rakr commented 7 years ago

Hi, I made some progress on this one. One provides colors for the different grammars that are implemented. Vim default C/C++ highlight definition is quite minimal, I found this package that enhances the support for these languages: octol/vim-cpp-enhanced-highlight

Give it a shot and let me know if that fixes the issue.