aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-16 01:46:49 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-16 01:46:49 +0300
commit02cdecf47c8dc430bd4b80eb1377a89b94c990f9 (patch)
tree46ca753220bca0e8c0d0e677995e43244cd034cd /lib
parente8cc15b01976d2c35751e82f2f045b45415293f9 (diff)
downloadsciteco-02cdecf47c8dc430bd4b80eb1377a89b94c990f9.tar.gz
python lexer: fixed block comment styling
Also, unterminated strings are highlighted with the "error" color now.
Diffstat (limited to 'lib')
-rw-r--r--lib/lexers/python.tes4
1 files changed, 3 insertions, 1 deletions
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]