From d6a0422ef224a2ee9f8d5a724afc2af73956cd19 Mon Sep 17 00:00:00 2001 From: Liu Hao Date: Thu, 7 Dec 2017 17:14:22 +0800 Subject: [PATCH 3/9] syntax/c.nanorc: Highlighting of angle brackets 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 bbe06876..d1e1979e 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