From 50b635ce2da47372edf2933321fef8872429703d Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Thu, 29 Jun 2017 13:29:48 +0300 Subject: [PATCH] rc c-family: Add a hook to the insert group --- rc/core/c-family.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/c-family.kak b/rc/core/c-family.kak index 3898efcb..caff5fbb 100644 --- a/rc/core/c-family.kak +++ b/rc/core/c-family.kak @@ -298,7 +298,7 @@ def -hidden c-family-insert-include-guards %{ } } -hook global BufNewFile .*\.(h|hh|hpp|hxx|H) c-family-insert-include-guards +hook -group c-family-insert global BufNewFile .*\.(h|hh|hpp|hxx|H) c-family-insert-include-guards decl -docstring "colon separated list of path in which header files will be looked for" \ str-list alt_dirs ".:.."