From 60bd52d24d15e55039daa8b83cf56b974cc3cc26 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:02:16 +0100 Subject: [PATCH] Color trailing whitespace green --- haskell.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/haskell.nanorc b/haskell.nanorc index 58e817d..2b37ecf 100644 --- a/haskell.nanorc +++ b/haskell.nanorc @@ -29,3 +29,6 @@ color green "--.*" color green start="\{-" end="-\}" color brightred "undefined" + +## Trailing spaces +color ,green "[[:space:]]+$"