I want to add comments dependant on the column i'm writing for example if i'm adding a comment over a code which is indented 4 spaces the comment should look like
/* Comment -------------*/
as many dashes as needed to fill up the line till column 100. It should recognize where the position is and how long the comment is.
I can't figure it out with vimscript myself.