Give hooks a group so they're cleaned up

This commit is contained in:
Justin Frank 2019-07-22 19:03:04 -07:00
parent 89b50daa66
commit 8941002ce0

View File

@ -19,8 +19,8 @@ hook global WinSetOption filetype=markdown %{
}
hook -group markdown-load-languages global WinSetOption filetype=markdown %{
hook window NormalIdle .* markdown-load-languages
hook window InsertIdle .* markdown-load-languages
hook -group markdown-load-languages window NormalIdle .* markdown-load-languages
hook -group markdown-load-languages window InsertIdle .* markdown-load-languages
}