My company restricts us to use this coding style:
/*
**
**
**
**
*/
while native comment coding syle of vim is
/*
*
*
*
*
*/
Could anybody tell me how to change the comment styles?
Thanks for answering!
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
Make a modification of the filetype "c":
:e ~/.vim/after/ftplugin/c.vim
(this is for Unix;
create missing dirs;
use appropriate filetype:
if in doubt check current filetype with
:set ft?
:h :filetype
)
add the following line:
setl com=sO:**\ -,mO:**\ \ ,exO:*/,s0:/*,m:**,ex:*/,://
--
HTH
Andy
My company restricts us to use this coding style:
/*
**
**
**
**
*/
while native comment coding syle of vim is
/*
*
*
*
*
*/
Could anybody tell me how to change the comment styles?
Thanks for answering!
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
You already got an answer three hours ago. Did you see it? If you didn't,
check your Spam or Held-Mail (or whatever) folder at MSN if you have one, and
set your account's spam-filtering setting at its lowest possible setting if
you can; then, if you still don't see that answer, check the Google Groups
archive.
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
107. When using your phone you forget that you don't have to use your
keyboard.