1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-18 17:02:06 +03:00

kakrc: add preserve_indent filter on c++ files and highlight trailing spaces

This commit is contained in:
Maxime Coste 2011-12-02 19:01:08 +00:00
parent c761420055
commit 74a315cd0e

View File

@ -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