Skip to content
Browse files

Added keywords from Switch.pm

  • Loading branch information...
1 parent 8fbc9da commit a81e89670a9c791aaf1941943cfd8e36b1a380a1 @cub-uanic committed Nov 3, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 syntax/perl.vim
View
6 syntax/perl.vim
@@ -2,8 +2,8 @@
"
" Language: Perl with MooseX::Declare and Moose keywords
" Maintainer: Rafael Kitover <rkitover@cpan.org>
-" Last Change: 2010-07-25
-" Contributors: Denis Pokataev
+" Last Change: 2010-11-03
+" Contributors: Denis Pokataev, Oleg Kostyuk
"
" ORIGINAL VERSION:
"
@@ -129,7 +129,7 @@ syn region perlGenericBlock matchgroup=perlGenericBlock start="{" end="}" conta
" All keywords
"
-syn match perlConditional "\<\%(if\|elsif\|unless\|given\|when\|default\)\>"
+syn match perlConditional "\<\%(if\|elsif\|unless\|given\|when\|default\|switch\|case\)\>"
syn match perlConditional "\<else\>" nextgroup=perlElseIfError skipwhite skipnl skipempty
syn match perlRepeat "\<\%(while\|for\%(each\)\=\|do\|until\|continue\)\>"
syn match perlOperator "\<\%(defined\|undef\|eq\|ne\|[gl][et]\|cmp\|not\|and\|or\|xor\|not\|bless\|ref\|do\)\>"

0 comments on commit a81e896

Please sign in to comment.
Something went wrong with that request. Please try again.