]> git.eshelyaron.com Git - emacs.git/commit
perl-mode: Recognize "when"/"given" keywords
authorStefan Kangas <stefan@marxist.se>
Mon, 27 Dec 2021 02:07:50 +0000 (03:07 +0100)
committerStefan Kangas <stefan@marxist.se>
Mon, 27 Dec 2021 02:19:25 +0000 (03:19 +0100)
commitf522a064cf1ec8804fb938886b10bc82650e1a68
tree72d0b8fa8242a3e3d8ede0455fd1552b2d060600
parentd9977018e045be002f2b48254215fda5f3a067fc
perl-mode: Recognize "when"/"given" keywords

* lisp/progmodes/perl-mode.el (perl-font-lock-keywords-2): Add
keywords "when", "given" and "default".  (Bug#10560)
(perl--syntax-exp-intro-keywords): Add "printf".

* test/manual/indent/perl.perl: Add test for "when"/"given".
lisp/progmodes/perl-mode.el
test/manual/indent/perl.perl