Paolo Bolzoni wrote: > I program in C++ using vim and, as most developers, I use syntax > coloring. I have a weak spot for colorful terminal screens... > > However, I have the feeling that syntax coloring is little more > than eye candy. > > Lets see this two lines of code: > > a -= b; > > against > > a =- b; > > The meaning is totally different, yet coloring won't help you at all. > > It is possible to setup syntax coloring so different operators > have a different color? > Check on ,,,./syntax/cpp.vim (its part of your distribution; on linux, its usually /usr/share/vim/vim##/syntax/cpp.vim. where ## is your vim's version number). Copy said file to your ~/.vim/syntax directory. Modify it to suit you.
Regards, Chip Campbell -- -- You received this message from the "vim_use" 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_use" 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/d/optout.
