]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vim/after/syntax/perl.vim
after/syntax/perl.vim: Mark continue and break as Errors.
[config/dotfiles.git] / vim / after / syntax / perl.vim
index de35eca6e38fcb880b2e088d05b87e4c6d020068..5cf6514ce032eb16283f6d49d07f6b792c8f7455 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'