From 6ba232240945c51ab6d0a4964b89d8a3855442e0 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:07:25 +0100 Subject: [PATCH] Color trailing whitespace green --- ocaml.nanorc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocaml.nanorc b/ocaml.nanorc index 49ba151..f5cd2c7 100644 --- a/ocaml.nanorc +++ b/ocaml.nanorc @@ -23,3 +23,5 @@ color yellow "\<(new|ref|mutable|lazy|assert|raise)\>" color white start="\(\*" end="\*\)" #strings (no multiline handling yet) color brightblack ""[^\"]*"" +## Trailing spaces +color ,green "[[:space:]]+$"