summaryrefslogtreecommitdiffstats
path: root/syntax/perl6.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-01-22 09:08:00 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2016-01-22 09:08:00 +0100
commit61390f58850c34b27d2a28dc14ebd760de152cc9 (patch)
treeef4822fc1f712ef0e2bdc50a435d7ef590da4d77 /syntax/perl6.vim
parentf8a0fb37bf57fdf705747cc3aacbe50b6b2d6482 (diff)
downloadvim-polyglot-61390f58850c34b27d2a28dc14ebd760de152cc9.tar.gz
vim-polyglot-61390f58850c34b27d2a28dc14ebd760de152cc9.zip
Update
Diffstat (limited to 'syntax/perl6.vim')
-rw-r--r--syntax/perl6.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/perl6.vim b/syntax/perl6.vim
index 9d1e39b6..ff8070b8 100644
--- a/syntax/perl6.vim
+++ b/syntax/perl6.vim
@@ -1951,7 +1951,7 @@ endif
if exists("perl6_fold") || exists("perl6_extended_all")
setl foldmethod=syntax
syn region p6BlockFold
- \ start="^\z(\s*\)\%(my\|our\|augment\|multi\|proto\|only\)\?\s*\%(\%([A-Za-z_\xC0-\xFF]\%([A-Za-z_\xC0-\xFF0-9]\|[-'][A-Za-z_\xC0-\xFF]\@=\)*\)\s\+\)\?\<\%(CATCH\|try\|ENTER\|LEAVE\|CHECK\|INIT\|BEGIN\|END\|KEEP\|UNDO\|PRE\|POST\|module\|package\|enum\|subset\|class\|sub\%(method\)\?\|multi\|method\|slang\|grammar\|regex\|token\|rule\)\>[^{]\+{\%(\s+\|#.*\)\?$"
+ \ start="^\z(\s*\)\%(my\|our\|augment\|multi\|proto\|only\)\?\s*\%(\%([A-Za-z_\xC0-\xFF]\%([A-Za-z_\xC0-\xFF0-9]\|[-'][A-Za-z_\xC0-\xFF]\@=\)*\)\s\+\)\?\<\%(CATCH\|try\|ENTER\|LEAVE\|CHECK\|INIT\|BEGIN\|END\|KEEP\|UNDO\|PRE\|POST\|module\|package\|enum\|subset\|class\|sub\%(method\)\?\|multi\|method\|slang\|grammar\|regex\|token\|rule\)\>[^{]\+\%({\s*\%(#.*\)\?\)\?$"
\ end="^\z1}"
\ transparent fold keepend extend
endif