From 8d87447edd91dd0004f7ef2c2a9de2e5073d9574 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Wed, 21 Oct 2015 08:03:33 +0300 Subject: [PATCH] Fix the calls to unalias, add new characters to Go's commenting class, use a default color for D's verbatim strings --- rc/dlang.kak | 8 ++++---- rc/golang.kak | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/rc/dlang.kak b/rc/dlang.kak index dda1e6f9..fc5027c5 100644 --- a/rc/dlang.kak +++ b/rc/dlang.kak @@ -22,8 +22,8 @@ addhl -group / regions -default code dlang \ comment '//' $ '' addhl -group /dlang/string fill string -addhl -group /dlang/verbatim_string fill rgb:FF40D4 -addhl -group /dlang/verbatim_string_prefixed fill rgb:FF40D4 +addhl -group /dlang/verbatim_string fill magenta +addhl -group /dlang/verbatim_string_prefixed fill magenta addhl -group /dlang/token fill meta addhl -group /dlang/disabled fill rgb:777777 addhl -group /dlang/comment fill comment @@ -93,7 +93,7 @@ hook global WinSetOption filetype=dlang %{ hook window InsertChar \{ -group dlang-indent _dlang-indent-on-opening-curly-brace hook window InsertChar \} -group dlang-indent _dlang-indent-on-closing-curly-brace - alias buffer format-code dlang-format-dfmt + alias window format-code dlang-format-dfmt } hook global WinSetOption filetype=(?!dlang).* %{ @@ -102,5 +102,5 @@ hook global WinSetOption filetype=(?!dlang).* %{ rmhooks window dlang-hooks rmhooks window dlang-indent - unalias buffer format-code + unalias window format-code dlang-format-dfmt } diff --git a/rc/golang.kak b/rc/golang.kak index aed6d2c0..e4d45511 100644 --- a/rc/golang.kak +++ b/rc/golang.kak @@ -16,6 +16,7 @@ addhl -group / regions -default code golang \ back_string '`' '`' '' \ double_string '"' (?