From 6c92444545feb73669dfd21e1dc4f26bb645cdd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Kone=C4=8Dn=C3=BD?= Date: Tue, 11 Aug 2015 20:32:07 +0200 Subject: [PATCH] Fix python types highlighter --- rc/python.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/python.kak b/rc/python.kak index 0d5cf305..87e3bdf1 100644 --- a/rc/python.kak +++ b/rc/python.kak @@ -32,7 +32,7 @@ addhl -group /python/code regex \<(import|from)\> 0:meta # Keyword list is collected using `keyword.kwlist` from `keyword` addhl -group /python/code regex \<(and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|global|if|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield)\> 0:keyword # Highlight types, when they are not used as constructors -addhl -group /python/code regex \<(buffer|bytearray|complex|dict|file|float|frozenset|int|list|long|memoryview|object|set|str|tuple|unicode|xrange)\>[^(] 0:type +addhl -group /python/code regex \<(buffer|bytearray|complex|dict|file|float|frozenset|int|list|long|memoryview|object|set|str|tuple|unicode|xrange)\>[^(] 1:type # Commands # ‾‾‾‾‾‾‾‾