From 8941002ce00304c96edbedfc26b60b61eb6bf0d4 Mon Sep 17 00:00:00 2001 From: Justin Frank Date: Mon, 22 Jul 2019 19:03:04 -0700 Subject: [PATCH] Give hooks a group so they're cleaned up --- rc/filetype/markdown.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/filetype/markdown.kak b/rc/filetype/markdown.kak index f3295ab0..c795d80f 100644 --- a/rc/filetype/markdown.kak +++ b/rc/filetype/markdown.kak @@ -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 }