]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
after/syntax/perl.vim: Fix regex for continue/break.
authorSimon Ruderich <simon@ruderich.org>
Sun, 2 Dec 2012 21:06:50 +0000 (22:06 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 2 Dec 2012 21:06:50 +0000 (22:06 +0100)
vim/after/syntax/perl.vim

index 5cf6514ce032eb16283f6d49d07f6b792c8f7455..ebedc23d32d9ae86641cffca7de43c720a087a9f 100644 (file)
@@ -24,7 +24,7 @@
 highlight link perlSharpBang SpecialComment
 
 " I never use continue and break, and always confuse them with next and last.
-syntax match Error "\<continue\|break\>"
+syntax match Error "\<\(continue\|break\)\>"
 
 " Highlight statement control keywords differently when my color scheme is
 " used.