]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vim/after/syntax/perl.vim
after/syntax/perl.vim: Fix regex for continue/break.
[config/dotfiles.git] / vim / after / syntax / perl.vim
index de35eca6e38fcb880b2e088d05b87e4c6d020068..ebedc23d32d9ae86641cffca7de43c720a087a9f 100644 (file)
@@ -23,6 +23,9 @@
 " Use SpecialComment to highlight shebangs.
 highlight link perlSharpBang SpecialComment
 
+" I never use continue and break, and always confuse them with next and last.
+syntax match Error "\<\(continue\|break\)\>"
+
 " Highlight statement control keywords differently when my color scheme is
 " used.
 if exists('g:colors_name') && g:colors_name == 'simon'