From 9722fa58c1d43637b4230cb15312c2d69f400f6c Mon Sep 17 00:00:00 2001 From: Liu Hao Date: Thu, 7 Dec 2017 17:14:22 +0800 Subject: [PATCH 3/9] syntax: remove highlighting of angle brackets This blots C++ template parameters, so it is removed. Signed-off-by: Liu Hao --- syntax/c.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/c.nanorc b/syntax/c.nanorc index 20f7bee2..2ea46040 100644 --- a/syntax/c.nanorc +++ b/syntax/c.nanorc @@ -23,7 +23,7 @@ color cyan "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidd # Strings. In general you will want your strings and comments to come last, # because highlighting rules are applied in the order they are read in. -color brightyellow ""([^"]|\\")*"" "<[^[:blank:]=]*>" +color brightyellow ""([^"]|\\")*"" # Multiline strings. This regex is VERY resource intensive, # and sometimes colours things that shouldn't be coloured. ###color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" -- 2.15.0