diff options
| author | Justin Frank <justinpfrank@protonmail.com> | 2019-03-13 14:00:59 -0700 |
|---|---|---|
| committer | Justin Frank <justinpfrank@protonmail.com> | 2019-04-08 17:05:55 -0700 |
| commit | aa6d19bee69e6a2b845553f5ba19cfe4e4cf6b12 (patch) | |
| tree | e9abe822f5fd9d5cba4aa0a7e3719bf8e360a6d2 /rc/filetype/php.kak | |
| parent | 7866d88131837f7c514e73c57773185ba33beb7b (diff) | |
Added modules to extra files
Diffstat (limited to 'rc/filetype/php.kak')
| -rw-r--r-- | rc/filetype/php.kak | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rc/filetype/php.kak b/rc/filetype/php.kak index 4acfde85..e2759129 100644 --- a/rc/filetype/php.kak +++ b/rc/filetype/php.kak @@ -5,6 +5,13 @@ hook global BufCreate .*[.](php) %{ set-option buffer filetype php } +hook -once global BufSetOption filetype=php %{ + require-module php +} + +provide-module php %( +require-module html + # Highlighters # ‾‾‾‾‾‾‾‾‾‾‾‾ @@ -88,3 +95,5 @@ hook global WinSetOption filetype=php %{ hook -once -always window WinSetOption filetype=.* %{ remove-hooks window php-.+ } } + +) |
