Skip to content

Commit

Permalink
Merge pull request #2 from paul-scott/types
Browse files Browse the repository at this point in the history
Highting parameters with defaults and keyword arguments
  • Loading branch information
paul-scott authored May 14, 2022
2 parents fc84edd + ef740fb commit 065ab2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/queries/python/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@

(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))
(keyword_argument name: (identifier) @variable.parameter)

; Types

Expand Down

0 comments on commit 065ab2a

Please sign in to comment.