mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-25 10:32:19 +03:00
Merge remote-tracking branch 'lenormf/rc/python.kak-bool'
This commit is contained in:
commit
307943fcf7
@ -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)\>[^(] 1:type
|
||||
addhl -group /python/code regex \<(bool|buffer|bytearray|complex|dict|file|float|frozenset|int|list|long|memoryview|object|set|str|tuple|unicode|xrange)\>[^(] 1:type
|
||||
|
||||
# Commands
|
||||
# ‾‾‾‾‾‾‾‾
|
||||
|
Loading…
Reference in New Issue
Block a user