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/toml.kak | |
| parent | 7866d88131837f7c514e73c57773185ba33beb7b (diff) | |
Added modules to extra files
Diffstat (limited to 'rc/filetype/toml.kak')
| -rw-r--r-- | rc/filetype/toml.kak | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rc/filetype/toml.kak b/rc/filetype/toml.kak index f95fbb9d..141a21fd 100644 --- a/rc/filetype/toml.kak +++ b/rc/filetype/toml.kak @@ -8,6 +8,12 @@ hook global BufCreate .*\.(toml) %{ set-option buffer filetype toml } +hook -once global BufSetOption filetype=toml %{ + require-module toml +} + +provide-module toml %{ + # Highlighters # ‾‾‾‾‾‾‾‾‾‾‾‾ @@ -61,3 +67,5 @@ hook global WinSetOption filetype=toml %{ hook -once -always window WinSetOption filetype=.* %{ remove-hooks window toml-.+ } } + +} |
