Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit df3934c

Browse files
committed
Highlight keyword argument names
Refs #281
1 parent d7e35bd commit df3934c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

grammars/tree-sitter-python.cson

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ scopes:
8989
'"global"': 'storage.modifier.global'
9090
'"nonlocal"': 'storage.modifier.nonlocal'
9191

92+
'keyword_argument > identifier:nth-child(0)': 'variable.parameter.function'
93+
9294
'"if"': 'keyword.control'
9395
'"else"': 'keyword.control'
9496
'"elif"': 'keyword.control'

0 commit comments

Comments
 (0)