mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-30 23:37:17 +03:00
rc python: Highlight modules in import statements
This commit is contained in:
parent
3c34de7fe7
commit
38746b169e
@ -136,6 +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:builtin
|
||||
add-highlighter shared/python/code/ regex ^\h*(?:from|import)\h+(\S+) 1:module
|
||||
|
||||
# Commands
|
||||
# ‾‾‾‾‾‾‾‾
|
||||
|
Loading…
Reference in New Issue
Block a user