No need for two hooks for a single Perl highlighter. Thanks, casimir!

This commit is contained in:
Tadeusz “tadzik” Sośnierz 2017-01-13 16:03:40 +01:00
parent a7666efd4f
commit 1e6b05fc4c

View File

@ -4,11 +4,7 @@
# Detection # Detection
# ‾‾‾‾‾‾‾‾‾ # ‾‾‾‾‾‾‾‾‾
hook global BufCreate .*\.pl %{ hook global BufCreate .*\.p[lm] %{
set buffer filetype perl
}
hook global BufCreate .*\.pm %{
set buffer filetype perl set buffer filetype perl
} }