mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(python): restrict typed parameter highlight
Only the name is a parameter and not the value
This commit is contained in:
parent
2583eb351b
commit
ab818bf5a2
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@
|
|||
(typed_parameter
|
||||
(identifier) @parameter)
|
||||
(typed_default_parameter
|
||||
(identifier) @parameter)
|
||||
name: (identifier) @parameter)
|
||||
; Variadic parameters *args, **kwargs
|
||||
(parameters
|
||||
(list_splat_pattern ; *args
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue