diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 01:25:33 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 01:25:33 -0500 |
commit | 6f3910c666ddd92d09cc5551f776a82f6c0d4e63 (patch) | |
tree | 8f14ac47be68eaab52d23136688dcadc79164c50 | |
parent | bb6a0fef16875798ac6242ea66b58383368ce57a (diff) | |
download | vim-foldtext-6f3910c666ddd92d09cc5551f776a82f6c0d4e63.tar.gz vim-foldtext-6f3910c666ddd92d09cc5551f776a82f6c0d4e63.zip |
skip blank lines before argument handling
-rw-r--r-- | vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -217,8 +217,8 @@ function Perl_foldtext() while linenum <= v:foldend let linenum += 1 let next_line = getline(linenum) - " skip the opening brace and comment lines - if next_line =~ '\s*{\s*' || next_line =~ '^\s*#' + " skip the opening brace and comment lines and blank lines + if next_line =~ '\s*{\s*' || next_line =~ '^\s*#' || next_line == '' continue endif |