From e9b0e9a57df7b650df15e4b66285cfc35696909c Mon Sep 17 00:00:00 2001 From: Cem Aksoylar Date: Wed, 12 Aug 2020 23:11:43 -0700 Subject: [PATCH] Fix <> and ** operators highlighting --- 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 b4f79dec..af189e8e 100644 --- a/rc/filetype/python.kak +++ b/rc/filetype/python.kak @@ -136,7 +136,7 @@ evaluate-commands %sh{ " } -add-highlighter shared/python/code/ regex (?<=[\w\s\d\)\]'"_])(<=|<<|>>|>=|<>|<|>|!=|==|\||\^|&|\+|-|\*\*|\*|//?|%|~) 0:operator +add-highlighter shared/python/code/ regex (?<=[\w\s\d\)\]'"_])(<=|<<|>>|>=|<>?|>|!=|==|\||\^|&|\+|-|\*\*?|//?|%|~) 0:operator add-highlighter shared/python/code/ regex (?<=[\w\s\d'"_])((?!])=(?![=])|[+*-]=) 0:builtin add-highlighter shared/python/code/ regex ^\h*(?:from|import)\h+(\S+) 1:module