Give hooks a group so they're cleaned up
This commit is contained in:
parent
89b50daa66
commit
8941002ce0
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user