summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2019-07-26 13:01:58 +0300
committerFrank LENORMAND <lenormf@gmail.com>2019-07-26 13:01:58 +0300
commitff52bd7027ec579a82f8f88e94341407092bf81b (patch)
treee4550bf0132b796f106b2072ca166fcf0c08cf11 /src/input_handler.cc
parent550feb1706e248edd4fe0cf526c12cdefbfab7ce (diff)
rc python: Highlight indented decorators with `.`
Make sure decorators are on their own line, and don't stop highlighting at the first dot when they are imported, e.g. ``` import enum @enum.unique class A(enum.Enum): … ``` Ideally highlighting shouldn't stop at the first parenthesis either (e.g. `@foo(['1'])`), but the current code somewhat highlights the contents of the parens already, which is good enough in most cases.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions