From 1e6b05fc4c2c699151f7149bac77c3e9988694ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tadeusz=20=E2=80=9Ctadzik=E2=80=9D=20So=C5=9Bnierz?= Date: Fri, 13 Jan 2017 16:03:40 +0100 Subject: [PATCH] No need for two hooks for a single Perl highlighter. Thanks, casimir! --- rc/base/perl.kak | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rc/base/perl.kak b/rc/base/perl.kak index cba11bd22..24e53657a 100644 --- a/rc/base/perl.kak +++ b/rc/base/perl.kak @@ -4,11 +4,7 @@ # Detection # ‾‾‾‾‾‾‾‾‾ -hook global BufCreate .*\.pl %{ - set buffer filetype perl -} - -hook global BufCreate .*\.pm %{ +hook global BufCreate .*\.p[lm] %{ set buffer filetype perl }