I was trying to close unused files in Eclipse and accidentally made something wrong. Now I can\'t see syntax highlighting for one of my files. Here are two screenshots - on
I guess you accidentally opened the file with the 'Text Editor'. Refer screenshot below.
In C/C++ is also a scalability mode which disable syntax highlighting if the file has more than 5000 lines.
5000