Permalink
Browse files

Merge pull request #1 from bbliem/master

Fixed: C-style comments were not recognized correctly
  • Loading branch information...
2 parents b13af8e + 35aec14 commit 2b8079489efd628f7b75730fce217f4d7cd9440f @fotanus committed Oct 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 fold_license.vim
View
@@ -28,7 +28,7 @@ endfunction
function! GetCommentBlock(block_start, block_end)
call cursor(1,1)
exec "let s:comment_start = search('^\s*".a:block_start ."', 'c')"
- exec "let s:comment_end = search('"a:block_end."','W')"
+ exec "let s:comment_end = search('".a:block_end."','W')"
return [s:comment_start,s:comment_end]
endfunction

0 comments on commit 2b80794

Please sign in to comment.