From 02cdecf47c8dc430bd4b80eb1377a89b94c990f9 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 16 May 2025 01:46:49 +0300 Subject: python lexer: fixed block comment styling Also, unterminated strings are highlighted with the "error" color now. --- lib/lexers/python.tes | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/lexers/python.tes b/lib/lexers/python.tes index f85f92b..6a46f1b 100644 --- a/lib/lexers/python.tes +++ b/lib/lexers/python.tes @@ -58,7 +58,9 @@ :M[color.string2],6M[color.set] :M[color.string],7M[color.set] :M[color.operator],10M[color.set] - :M[color.string],12M[color.set] + !!:M[color.variable],11M[color.set] + :M[color.comment],12M[color.set] + :M[color.error],13M[color.set] :M[color.string],16M[color.set] :M[color.string2],17M[color.set] :M[color.string2],18M[color.set] -- cgit v1.2.3