No need for two hooks for a single Perl highlighter. Thanks, casimir!
This commit is contained in:
parent
a7666efd4f
commit
1e6b05fc4c
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user