aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorPaul Scott2022-05-14 14:03:53 +0000
committerBlaž Hrastnik2022-05-20 01:28:52 +0000
commit09f9f70576830c328af37b73f96286d80ecf20f9 (patch)
tree1f809d9e462372a195e6f1e7e8353ae109fe0005 /runtime/queries
parent2a2030142f1d5cb8a130b0541399860d0e0cae15 (diff)
Python highlight decorator attribute
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/python/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/queries/python/highlights.scm b/runtime/queries/python/highlights.scm
index 35294072..93e08d58 100644
--- a/runtime/queries/python/highlights.scm
+++ b/runtime/queries/python/highlights.scm
@@ -34,6 +34,9 @@
(decorator) @function
(decorator (identifier) @function)
+(decorator (attribute attribute: (identifier) @function))
+(decorator (call
+ function: (attribute attribute: (identifier) @function)))
; Parameters