diff options
| author | Justin Frank <justinpfrank@protonmail.com> | 2019-03-12 22:24:33 -0700 |
|---|---|---|
| committer | Justin Frank <justinpfrank@protonmail.com> | 2019-04-08 17:02:44 -0700 |
| commit | 1fab727f2be4be4e4b6e85887c283daf86aef722 (patch) | |
| tree | 3cd52c6a5f4b9dc7e89284bdc01deb9899509029 /rc/filetype/perl.kak | |
| parent | 6092852640096c777f700cf669666504b10e2a58 (diff) | |
Modified a bunch of language support files to use modules
Diffstat (limited to 'rc/filetype/perl.kak')
| -rw-r--r-- | rc/filetype/perl.kak | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rc/filetype/perl.kak b/rc/filetype/perl.kak index e69058d3..342eb3b2 100644 --- a/rc/filetype/perl.kak +++ b/rc/filetype/perl.kak @@ -8,6 +8,12 @@ hook global BufCreate .*\.(t|p[lm])$ %{ set-option buffer filetype perl } +hook -once global BufSetOption filetype=perl %{ + require-module perl +} + +provide-module perl %🦀 + # Highlighters # ‾‾‾‾‾‾‾‾‾‾‾‾ @@ -112,3 +118,5 @@ hook global WinSetOption filetype=perl %{ hook -once -always window WinSetOption filetype=.* %{ remove-hooks window perl-.+ } } + +🦀 |
