X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vim%2Fvim%2Fafter%2Fsyntax%2Fperl.vim;h=3b2e1da0ac95486a380a0964f6c0f67b000e0d96;hb=b8ccd95d3fd082ba2322a8609c0fbe05c46b1de3;hp=7a45bc13bedad09d44e8d5ed1b57ed8fc2306fd2;hpb=f4b6a840a03304a034bf8336f4c08d7e0e127d73;p=config%2Fdotfiles.git diff --git a/vim/vim/after/syntax/perl.vim b/vim/vim/after/syntax/perl.vim index 7a45bc1..3b2e1da 100644 --- a/vim/vim/after/syntax/perl.vim +++ b/vim/vim/after/syntax/perl.vim @@ -4,7 +4,7 @@ " Maintainer: Simon Ruderich " License: GPL v3+ -" Copyright (C) 2012-2014 Simon Ruderich +" Copyright (C) 2012-2018 Simon Ruderich " " This file is free software: you can redistribute it and/or modify " it under the terms of the GNU General Public License as published by @@ -30,6 +30,9 @@ syntax match Error "\<\(continue\|break\)\>" " used. if exists('g:colors_name') && g:colors_name == 'simon' highlight link perlStatementControl statementControl + " die/exit is also kind of "statement control" as it terminates the + " program. + syn match statementControl "\<\%(die\|exit\)\>" endif " Highlight for Inline::C in __DATA__/__END__ section