From e06e7ab1ee41aeff9e29f43de47ac25eef474808 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 19 Nov 2025 01:19:49 +0100 Subject: refactored some lexer configurations to make them more pleasurable to look at * color.target is yellow in terminal.tes which looks awful and it should be used sparingly. The largest part of text in any lexer should be in the default colors. * bash.tes now discerns between double and single quote strings like most lexers. * autodetect GNUmakefiles * yaml.tes now uses color.string for keys - this is for consistency with JSON where keys will also always be strings. --- lib/lexers/make.tes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/lexers/make.tes') diff --git a/lib/lexers/make.tes b/lib/lexers/make.tes index 4ff519a..68acda1 100644 --- a/lib/lexers/make.tes +++ b/lib/lexers/make.tes @@ -3,6 +3,7 @@ @[lexer.test.make]{ :EN*/MakefileQ*"S -1 ' :EN*/makefileQ*"S -1 ' + :EN*/GNUmakefileQ*"S -1 ' :EN*.makQ* } @@ -13,5 +14,5 @@ :M[color.variable],3M[color.set] :M[color.operator],4M[color.set] :M[color.target],5M[color.set] - :M[color.error],6M[color.set] + :M[color.error],9M[color.set] } -- cgit v1.2.3