X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vim%2Fafter%2Fsyntax%2Fperl.vim;h=ebedc23d32d9ae86641cffca7de43c720a087a9f;hb=706caaa80bed935e591ee6619cba2cc91f664250;hp=de35eca6e38fcb880b2e088d05b87e4c6d020068;hpb=11a993b6c3452d50f790a670e681e593ed0b1924;p=config%2Fdotfiles.git diff --git a/vim/after/syntax/perl.vim b/vim/after/syntax/perl.vim index de35eca..ebedc23 100644 --- a/vim/after/syntax/perl.vim +++ b/vim/after/syntax/perl.vim @@ -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'