aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorPaul Scott2022-05-14 02:50:08 +0000
committerBlaž Hrastnik2022-05-20 01:28:52 +0000
commit2a2030142f1d5cb8a130b0541399860d0e0cae15 (patch)
tree1dab6a0f8599aefe8c5cf1b28ff29c78413f155b /runtime/queries
parente680f9644d485bcb5b9518515739f682d5a683f6 (diff)
Python highlight keyword argument as parameter
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/python/highlights.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/queries/python/highlights.scm b/runtime/queries/python/highlights.scm
index 75e76c68..35294072 100644
--- a/runtime/queries/python/highlights.scm
+++ b/runtime/queries/python/highlights.scm
@@ -44,6 +44,7 @@
(parameters (typed_parameter (identifier) @variable.parameter))
(parameters (default_parameter name: (identifier) @variable.parameter))
(parameters (typed_default_parameter name: (identifier) @variable.parameter))
+(keyword_argument name: (identifier) @variable.parameter)
; Types