From 74a315cd0e0aafdab1fbbc78a8852bcdba55a9d8 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 2 Dec 2011 19:01:08 +0000 Subject: [PATCH] kakrc: add preserve_indent filter on c++ files and highlight trailing spaces --- src/kakrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kakrc b/src/kakrc index 23e04966e..6932fa13d 100644 --- a/src/kakrc +++ b/src/kakrc @@ -1,2 +1,3 @@ hook WinCreate .*\.(c|cc|cpp|cxx|C|h|hh|hpp|hxx|H) addhl hlcpp - +hook BufCreate .*\.(c|cc|cpp|cxx|C|h|hh|hpp|hxx|H) addfilter preserve_indent +hook WinCreate .* addhl regex \h+\n default red