From f63d012fad57c735b2217a86fd73e932548012d3 Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Tue, 18 Aug 2015 20:55:37 -0400 Subject: [PATCH] rc/exherbo: various improvements --- rc/exherbo.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/exherbo.kak b/rc/exherbo.kak index bf0ffe8a..124672f2 100644 --- a/rc/exherbo.kak +++ b/rc/exherbo.kak @@ -14,7 +14,7 @@ hook global BufCreate .*\.(exheres-0|exlib) %{ } # Paludis configurations -hook global BufCreate /etc/paludis/.*\.conf %{ +hook global BufCreate .*paludis/.*\.conf %{ set buffer filetype paludis-conf } @@ -33,10 +33,10 @@ hook global WinSetOption filetype=(?!exheres-0-metadata).* %{ rmhl exheres-0-met ## Paludis configurations addhl -group / group paludis-conf addhl -group /paludis-conf regex [\s\t]+(\S+(?:[\s\t]+))*$ 0:attribute -addhl -group /paludis-conf regex [\s\t]+(-(\S+(?:[\s\t]+))) 0:keyword 1:red -addhl -group /paludis-conf regex [\s\t]+(\S+:(?:[\s\t]+)) 0:keyword addhl -group /paludis-conf regex (?::)(?:[\s\t]+)(.*?$) 1:attribute addhl -group /paludis-conf regex [\s\t]+(\S+\=)(.+?[\s\t]) 1:attribute 2:value +addhl -group /paludis-conf regex [\s\t](\S+:) 0:keyword +addhl -group /paludis-conf regex [\s\t](-\S+)(.*?) 1:red addhl -group /paludis-conf regex ^(\S+/\S+) 0:type addhl -group /paludis-conf regex ^#.*?$ 0:comment