Since I do a lot of editing in vim, and I, like many other coders would rather see highlighted syntax instead of plain text. The quick and dirty tip is to issue the following command:
:set syn=cpp since in my case i’m using c++, except for the glomosim network simulator, the file extension is .pc
Hope this helps someone out there.
This entry was posted by admin on September 29, 2011 at 7:34 pm, and is filed under Coding related, Nix. Follow any responses to this post through RSS 2.0.
You can leave a response or trackback from your own site.