for not highlighting

when i type for in my void loop it will not highlight what am i doing wrong?

You're probably doing nothing wrong but without posting your code, people can only guess. Highlighting keywords is an IDE specific thing and doesn't change how the compiler interprets your code.

Also, words like "for", "if" and "while" all have a drab green colour by default so it might be changing colour but it's just not that easy to see on your monitor.

Highlighting keywords is an IDE specific thing and doesn't change how the compiler interprets your code.

and the colour highlighting mechanism is badly flawed even when it is working as designed.