From 0485c291b9e328d316e3e0210a01d1907ddcbcd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Can=20Kad=C4=B1o=C4=9Flu?= Date: Mon, 4 Nov 2024 23:20:28 +0100 Subject: [PATCH] Added syntax higlighting for match and case keywords in python. --- python.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python.nanorc b/python.nanorc index 014b26b..664498f 100644 --- a/python.nanorc +++ b/python.nanorc @@ -24,7 +24,7 @@ color brightcyan "\<(NoneType|TypeType|IntType|LongType|FloatType|ComplexType|St ## definitions color brightcyan "def [a-zA-Z_0-9]+" ## keywords -color brightblue "\<(and|as|assert|async|await|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|raise|return|try|with|while|yield)\>" +color brightblue "\<(and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|map|match|not|or|pass|raise|return|try|with|while|yield)\>" ## decorators color brightgreen "@.*[(]"