From 28d0c9f08c509046ceb943c144d97dc913bd7549 Mon Sep 17 00:00:00 2001 From: Crazcalm Date: Mon, 7 Oct 2019 14:41:40 -0400 Subject: [PATCH] Add python keywords async and await to highlight list --- python.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python.nanorc b/python.nanorc index 9c321e6..0517bd8 100644 --- a/python.nanorc +++ b/python.nanorc @@ -21,7 +21,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|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|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)\>" ## decorators color brightgreen "@.*[(]"