diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 04:41:56 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 04:41:56 -0500 |
commit | ba48da4af73ccfffd8ddbdf55af48af843362a48 (patch) | |
tree | f7883947331d73120826f4e9b2e08a5768c33d85 | |
parent | 7f85f87055108981c316af2108467f5fed2e2ab9 (diff) | |
download | vim-foldtext-ba48da4af73ccfffd8ddbdf55af48af843362a48.tar.gz vim-foldtext-ba48da4af73ccfffd8ddbdf55af48af843362a48.zip |
be a little more precise in the regexes to match unknown things
-rw-r--r-- | vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -297,13 +297,13 @@ function Perl_foldtext() endif " handle unknown uses of shift - if next_line =~ '\%(shift\%(\s*@\)\@!\)' + if next_line =~ '\%(\<shift\>\%(\s*@\)\@!\)' let params += ['$unknown'] continue endif " handle unknown uses of @_ - if next_line =~ '@_' + if next_line =~ '@_\>' let params += ['@unknown'] continue endif |