Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

for srs

  • Loading branch information...
commit c47665986c59f773fb904c2ec28d9957c8866053 1 parent 8e80571
@jonesdeini authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 plugin/comment-blocks.vim
View
10 plugin/comment-blocks.vim
@@ -12,10 +12,10 @@
" $0
function CommentBlock (word)
- let width = strlen(a:word)
+ let width = strlen(a:word) + 4
" Build the comment box and put the comment inside it...
- return introducer . repeat(#,width) . "\<CR>"
- \ . introducer . " " . a:word . "\<CR>"
- \ . introducer . repeat(#,width) . "\<CR>"
-endfunction
+ return repeat(#,width) . "\<CR>"
+ \ . "# " . a:word . " #" . "\<CR>"
+ \ . repeat(#,width) . "\<CR>"
+endfunction
Please sign in to comment.
Something went wrong with that request. Please try again.