diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-10-23 22:32:10 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-10-23 22:32:10 +1100 |
| commit | 74275b82e1ec3f47f12d188c322a5eb5adf6dd36 (patch) | |
| tree | 9287615ba8329b255d67fdab65613b6113f32beb /rc/filetype/python.kak | |
| parent | a49ae162f4f34761eca5059332d36eef6153a0e1 (diff) | |
| parent | 38746b169e030ff4e90b55505f98bbe7a6322803 (diff) | |
Merge remote-tracking branch 'lenormf/python-highlight-module'
Diffstat (limited to 'rc/filetype/python.kak')
| -rw-r--r-- | rc/filetype/python.kak | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rc/filetype/python.kak b/rc/filetype/python.kak index 93f9a618..0fb370fc 100644 --- a/rc/filetype/python.kak +++ b/rc/filetype/python.kak @@ -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 # ‾‾‾‾‾‾‾‾ |
