From 7661e675517e571e3ae2e9301cb36e5e6478c053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kruszewski?= Date: Sat, 30 May 2020 16:47:32 +0200 Subject: [PATCH] Fix python attributes highlight. --- rc/filetype/python.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/python.kak b/rc/filetype/python.kak index 0f754a1d..bac31e3f 100644 --- a/rc/filetype/python.kak +++ b/rc/filetype/python.kak @@ -126,7 +126,7 @@ evaluate-commands %sh{ printf %s " add-highlighter shared/python/code/ regex '\b($(join "${values}" '|'))\b' 0:value add-highlighter shared/python/code/ regex '\b($(join "${meta}" '|'))\b' 0:meta - add-highlighter shared/python/code/ regex '\b($(join "${attribute}" '|'))\b' 0:attribute + add-highlighter shared/python/code/ regex '\b($(join "${attributes}" '|'))\b' 0:attribute add-highlighter shared/python/code/ regex '\bdef\s+($(join "${methods}" '|'))\b' 1:function add-highlighter shared/python/code/ regex '\b($(join "${exceptions}" '|'))\b' 0:function add-highlighter shared/python/code/ regex '\b($(join "${keywords}" '|'))\b' 0:keyword