Skip to content

Commit

Permalink
for srs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesdeini committed May 25, 2012
1 parent 8e80571 commit c476659
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions plugin/comment-blocks.vim
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
" $0 " $0


function CommentBlock (word) function CommentBlock (word)
let width = strlen(a:word) let width = strlen(a:word) + 4


" Build the comment box and put the comment inside it... " Build the comment box and put the comment inside it...
return introducer . repeat(#,width) . "\<CR>" return repeat(#,width) . "\<CR>"
\ . introducer . " " . a:word . "\<CR>" \ . "# " . a:word . " #" . "\<CR>"
\ . introducer . repeat(#,width) . "\<CR>" \ . repeat(#,width) . "\<CR>"
endfunction endfunction

0 comments on commit c476659

Please sign in to comment.