From e680f9644d485bcb5b9518515739f682d5a683f6 Mon Sep 17 00:00:00 2001 From: Paul Scott Date: Sat, 14 May 2022 12:39:36 +1000 Subject: [PATCH] Python handling highlighting parameters with defaults --- runtime/queries/python/highlights.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/queries/python/highlights.scm b/runtime/queries/python/highlights.scm index fa622435..75e76c68 100644 --- a/runtime/queries/python/highlights.scm +++ b/runtime/queries/python/highlights.scm @@ -42,6 +42,8 @@ (parameters (identifier) @variable.parameter) (parameters (typed_parameter (identifier) @variable.parameter)) +(parameters (default_parameter name: (identifier) @variable.parameter)) +(parameters (typed_default_parameter name: (identifier) @variable.parameter)) ; Types